ls-f

A modern, blazing-fast ls replacement with beautiful icons and colors, rewritten in Rust for maximum performance.

Everything you need from ls

And a lot more that you didn't know you needed.

🚀

Native Speed

Written in Rust (v5.0.0), matching GNU ls speed even with complex icon rendering and colorization.

🎨

Nerd Font Icons

Rich support for hundreds of file types and extensions using Nerd Fonts for instant visual recognition.

🌳

Built-in Tree View

Visualize your directory structure recursively with the --tree flag, no extra tools required.

🌿

Git Integration

See the status of your files (staged, modified, new) directly in your file listings with --git.

⚙️

GNU Compatible

Supports all standard flags like -l, -a, -R, -h, -t, -S, and more.

📦

Zero Dependencies

Distributed as a single static binary. No runtime dependencies, no Python or Bash required.

See it in Action

$ lsf
📄 Cargo.toml    📄 README.md    📁 src/    📁 target/
$ lsf --tree --depth 2
.
├── 📄 Cargo.toml
├── 📄 README.md
├── 📁 src/
│   ├── 📄 main.rs
│   └── 📄 cli.rs
└── 📁 target/
ls-f screenshot

Quick Installation

Choose the method that works best for your environment.

📦 Via Cargo (Recommended)

The easiest way to install and stay updated.

cargo install --path .

*Run this command inside the cloned repository.

🔨 From Source

Build and install to your system bin directory.

git clone https://github.com/swadhinbiswas/ls-f.git
cd ls-f
make install

Need more help? Check the Full Installation Guide.