zoxide
A smarter cd command that learns your directories and jumps to them in keystrokes.
About
zoxide is a directory-navigation tool by Ajeet D'Souza, written in Rust and inspired by z and autojump. It watches the directories you visit and ranks them with a frecency algorithm (frequency plus recency), so z foo jumps straight to the highest-ranked match instead of you typing a full path. When several directories match, zi foo opens an interactive picker powered by fzf, and it understands ordinary path navigation too, so it works as a drop-in cd replacement.
It supports all major shells (Bash, Zsh, Fish, Nushell, PowerShell, and others), can import your history from autojump, fasd, z, and z.lua, offers interactive shell completions, and lets you exclude directories with globs. The matching algorithm is documented in the README rather than formally benchmarked; the speed claim rests on the tiny Rust binary rather than published numbers. Installation is a one-liner plus a single init line in your shell rc.
What it can do
- Frecency-ranked directory database learned from your usage
- `z` jump command with fuzzy multi-term matching
- `zi` interactive selection via fzf for ambiguous matches
- Works as a full cd replacement with --cmd cd
- Import from z, autojump, fasd, and z.lua
- Interactive shell completions (bash 4.4+, fish, zsh)
- Exclusion globs for directories to never record
- Symlink resolution and match echoing
- Cross-shell: Bash, Zsh, Fish, Nushell, PowerShell, and more
Setup
Install via the script (curl -sSfL https://raw.githubusercontent.com/ajeetdsouza/zoxide/main/install.sh | sh), Homebrew (brew install zoxide), winget, or your distro package manager. Add the init line to your rc file, e.g. eval "$(zoxide init zsh)", optionally with --cmd cd to replace cd entirely. Import old data with zoxide import --from z (or autojump, fasd, z.lua).
Prerequisites
Any supported shell; optionally fzf for the interactive `zi` selector.
Use cases
Works with
Trust score — 9/10
Scored 9/10 (metrics tier, metrics-v1). Evidence: ~40.1k GitHub stars with commits pushed October 14, 2026; the README and independent reviews confirm the frecency ranking, the z/zi commands, fzf integration, shell coverage, and history importers. Strengths: does one thing exceptionally well, tiny and fast binary, painless migration from z/autojump, zero-config after init. Docked for: (1) speed claims rest on architecture rather than published benchmarks; (2) the database needs a warm-up period before it feels magical; (3) single-maintainer project, so bus-factor is worth noting. License: MIT.
★ 40,130 GitHub stars
How the trust score is built
Full methodology →- Adoption · stars/downloads, log-scaled vs peers
- 8.0/10
- Maintenance · recency, releases, issue load
- 8.0/10
- Openness · license + docs
- 9.0/10
- Manual review · sanity read + red-flag check
- 9.0/10
- · ~40.1k GitHub stars (Oct 16, 2026 snapshot), commits pushed Oct 14, 2026; by Ajeet D'Souza
- · Frecency-ranked directory DB; z/zi commands; fzf interactive selection; imports from z/autojump/fasd/z.lua
- · Speed claims rest on architecture not benchmarks; DB needs warm-up; single-maintainer project
Sources
Every fact above was checked against these sources. Where a claim comes from the provider and couldn't be independently verified, the text says so.