Favicon of lf

lf

Go-based terminal file manager with customizable keybindings, external tool integration, and cross-platform support. Lightweight alternative to ranger for command-line file operations.

lf is a fast, lightweight terminal file manager written in Go that brings efficient file navigation to your command line. Inspired by ranger, it delivers the essential file operations you need without unnecessary bloat.

Key capabilities include:

  • Cross-platform compatibility across Linux, macOS, BSDs, and Windows with a single binary
  • Minimal resource footprint thanks to native Go code and static compilation
  • Responsive interface with asynchronous IO operations that keep the UI responsive during file operations
  • Flexible configuration through customizable keybindings (vi and readline defaults) and shell command integration
  • Server/client architecture for managing multiple instances and executing remote commands
  • File preview and icons support for enhanced visual navigation

The tool deliberately avoids tabs, builtin editors, and redundant file operations—instead delegating these to your existing shell tools and terminal multiplexer, keeping the application focused and efficient. Installation is straightforward with pre-built binaries available or simple compilation from source using Go. Whether you're a terminal power user or looking to optimize your file management workflow, lf provides a responsive, configurable alternative to heavier file managers.

Install

Go
$ go install -trimpath

Features

Async I/OConfig fileScriptableTrue color

Media

Pros

4
  • Fast startup and low memory footprint
  • Single binary with no runtime dependencies
  • Asynchronous I/O operations
  • Extendable and configurable with shell commands

Cons

2
  • Does not include built-in pager or editor
  • Does not include built-in file operation commands

Related tools

Share:

  • Stars


    9,374
  • Forks


    369
  • Latest version


    r41
  • Last commit


    16 days ago
  • First release


    10 years
  • Language


    Go
  • License


    MIT

Auto-fetched .

Recent releases

Similar to lf

Favicon

 

  
 
Favicon

 

  
 
Favicon