← Software

zoxide

A smarter cd command that learns your habits.

zoxide watches your cd history, scores directories by how often and how recently you visit them ("frecency"), and provides a "z" command that jumps to the best match for a partial query. Typing "z dot" might be enough to land in ~/projects/dotfiles. Combined with fzf, "zi dot" pops up an interactive picker over candidate matches.

The implementation is in Rust by Ajeet D'Souza. It is descended in spirit from the older z.sh shell function and autojump but is faster, cross-shell, and simpler to install — a single binary plus a short shell-init line.

zoxide has become a standard part of "modern shell" dotfile setups. The combination with starship, fzf, fd, ripgrep, and bat makes for a noticeably faster shell experience than the defaults; users who have grown used to having zoxide on every machine often install it within the first minute of setting up a new system.

License: MIT

Category: CLI tools

Website: https://github.com/ajeetdsouza/zoxide

Install

Debian/Ubuntu: sudo apt install zoxide
Fedora/RHEL:   sudo dnf install zoxide
Arch:          sudo pacman -S zoxide
macOS:         brew install zoxide

Authors

  • Ajeet D'Souza (creator)
PreviousZig NextZstandard (zstd)

This site is currently in Beta. Contact: Chris Paton

Textbook of AI · Textbook of Usability · Textbook of Digital Health

Auckland Maths and Science Tutoring