zoxide

zoxide

Smarter Rust-powered cd command that learns your most-used directories and jumps to any folder in a few keystrokes.

★ 40.9K

Jump to deeply nested project directories in three keystrokes

Typing `cd ../../../workspace/clients/iconic18/plugins/` dozens of times a day wastes keystrokes and breaks your concentration. Legacy directory jumpers written in shell scripts or Python often add noticeable startup lag to every terminal prompt. zoxide replaces `cd` with a native Rust frecency engine (`83.6%` Rust) that ranks folders by how recently and frequently you visit them. Carrying 40.9K GitHub stars and 1,000 forks under the MIT license, it jumps straight to the right path when you type `z icon`.

How zoxide speeds up shell navigation

  • A fast frecency algorithm scores every directory visit in microseconds so typing a two-word fragment lands in your active project folder immediately.
  • Interactive selection (`zi`) pipes your ranked directory history directly into `fzf` whenever multiple project folders share a similar name.
  • Native shell hooks support Bash, Zsh, Fish, PowerShell, Nushell, Elvish, and Xonsh across Linux, macOS, Windows, and Android Termux.
  • Drop-in `–cmd cd` mode lets you alias `cd` directly to `zoxide`, preserving standard relative paths (`cd ..`) while unlocking fuzzy jumps everywhere else.

One quick ramp-up detail

Because `zoxide` learns from directories you actually visit, a brand-new install starts with an empty database unless you import history from `autojump`, `z`, or `fasd`. Install `zoxide` and add `eval “$(zoxide init zsh)”` to your shell config today so it starts indexing your workspace immediately.

Ready to try zoxide?

Experience the full capabilities on their official website.

Visit Official Website