Skip to content
zoxide
Hidden Gem

Curated by Surfaced Editorial·Productivity·2 min read
Share:

zoxide is an open-source smarter `cd` command, written in Rust by Ajeet D'Souza. Its core feature is to learn your frequent directories and allow you to jump to them with fewer keystrokes using a fuzzy-matching algorithm. It's primarily designed for developers, system administrators, and power users who spend a lot of time navigating deep or frequently visited directory structures in their terminal. Users typically invoke zoxide (via `z` or `zi`) instead of `cd` when they want to quickly switch to a project directory without typing the full path or remembering its exact location. It integrates seamlessly with popular shells like Bash, Zsh, Fish, and PowerShell.

Why It’s Useful

While `cd` requires exact paths or tab completion, zoxide offers an intelligent, fuzzy-matching approach that significantly speeds up directory navigation, outperforming traditional shell completion for common paths. For the web developer constantly jumping between `~/projects/client-a/backend/src` and `~/projects/client-b/frontend/components`, zoxide makes these switches instantaneous. For the data scientist working with nested datasets, `z data` can take them to `/mnt/data/processed/Q3_2023_analytics` without manual path entry. zoxide is entirely free and open-source. A hidden gem is its integration with `fzf` (if installed), offering an interactive selection list of matching directories, making it even more powerful. Its subtle nature, replacing a fundamental shell command, means many users don't realize such an improvement is possible, or they stick to old habits. The project is well-maintained on GitHub with active development and a supportive community.

Enjoyed this? Get five picks like this every morning.

Free daily newsletter — zero spam, unsubscribe anytime.