A smarter cd command that learns your habits. Jump to frequently used directories with just a few keystrokes.
zoxide is a smarter replacement for the traditional cd command, inspired by tools like z and autojump. It intelligently tracks which directories you visit most frequently and allows you to "jump" to them using just a few keystrokes, eliminating the need to type out full directory paths.
The tool uses a sophisticated ranking algorithm to remember your directory usage patterns, so you can navigate to frequently-used locations with commands like z foo instead of typing the complete path. It also supports interactive selection with fzf integration (zi foo), tab completions, and works seamlessly with relative paths and standard cd operations.
zoxide is designed for developers, system administrators, and power users who spend significant time navigating the command line across multiple directories. It works across all major shells including bash, zsh, fish, PowerShell, and others, making it a versatile tool for any Unix-like system or Windows environment. The tool significantly speeds up workflow by reducing the cognitive load of remembering and typing directory paths.
# via Homebrew
brew install zoxide
# via Cargo
cargo install zoxide --locked
# via Install script
curl -sSfL https://raw.githubusercontent.com/ajeetdsouza/zoxide/main/install.sh | sh