Short answer: add zoxide beside cd
Our zoxide build passed in 27 seconds and all 18 tests passed in 35 seconds, making it a reasonable tool to try if you repeatedly return to the same project folders. Use it if short, learned directory names would replace paths you type every day. Skip it if checking which similarly named folder won would interrupt your work more than typing the path. Latty's Hacker News account describes exactly that objection: changing shortcuts made history search and completion preferable.
The useful promise is modest. zoxide remembers directories, ranks matches and lets you jump back with a keyword. It doesn't need to replace your existing habits wholesale. Keep cd for exact destinations and scripts, and start with z as an extra command. That gives you a way to judge its choices without changing the meaning of a command you already trust. The project README documents both ordinary path navigation and optional replacement of cd.
What people use zoxide for
People describe zoxide as a convenience for repeated destinations, and the most useful accounts name what they stopped typing.
- On r/commandline, chefdorry reports returning straight to projects rather than repeatedly typing the enclosing code directory. The stated payoff is convenience and fewer keystrokes, not a large productivity multiplier.
- In Quick Programming, mbvissers uses
z articlesto reach an articles repository several directories deep. That is a concrete fit: a recurring destination with a memorable name. - At XDA, João Carrasqueira combines zoxide, fzf and yazi on Windows, preferring the keyboard-driven experience to File Explorer. Opening and browsing files come from that combination, especially yazi, rather than zoxide alone.
- On r/rust, topfpflanze187 keeps Fish autocomplete alongside zoxide. The user describes quicker access to certain directories while continuing to use both approaches.
- On r/commandline, Nick-Anus keeps ordinary
cdand useszto avoid the repeated~/repos/prefix. The same discussion acknowledges occasional wrong selections as part of that personal tradeoff.
On X, Nate Berkopec's quoted post describes wanting to keep zoxide after a week. That is a report of preference, not a timing study. It fits the other accounts: the benefit comes from recognizing your own recurring destinations, not from a claim that everyone should navigate the same way.
What you can do with zoxide
zoxide returns you to learned directories with short keywords, while zi adds an optional chooser powered by fzf, a terminal tool for selecting from matching items. The README's examples distinguish z foo, which chooses the highest-ranked match, from z foo bar, which narrows the destination with another fragment. Those commands solve repeated navigation rather than general file management.
The matching detail is easy to miss: the final keyword must match the destination's final folder name. In zoxide.org's macOS walkthrough, a learned web-app/src did not respond to z web; z web src worked. You are naming the place you want to arrive in, with earlier fragments helping distinguish its parents. That makes more sense once you see the actual path than when you read a promise about jumping anywhere.
Literal paths are another route. The README shows z ~/foo, z .. and z -, so you can still navigate by a known location or return to the previous directory. Learned matching doesn't require you to forget filesystem navigation. It adds another choice when the full path is the tedious part.
What happened when we ran it
In our run on November 19, 2026, we installed dependencies in 4 seconds, built zoxide in 27 seconds and passed all 18 Cargo tests in 35 seconds at commit 2f4bceb.
| Step | Result from our sandbox |
|---|---|
| Dependency installation | Succeeded in 4 seconds, 59 dependencies recorded |
| Build | Succeeded in 27 seconds |
| Tests | Succeeded in 35 seconds, 18 passed and 0 failed |
| Configuration | 3 CPUs, 12 GB RAM, image label lab-rust:1 |
| Repository scan | 74 files, about 3,711 source lines, 0.9 MB checked out |
| Automation signals | 5 CI workflow files, a tests directory, no Dockerfile detected |
Our harness measured source preparation and checks, rather than terminal navigation latency. It tells you the recorded checkout got through our dependency, build and test commands. It doesn't supply a lookup benchmark. The image label records the sandbox recipe; actual Rust and operating-system versions need the raw toolchain logs.
An earlier November 14 quickstart run at 1bb062057bef checked a different thing: whether the automation could reach a runnable example. It cloned the repository with the quickstart-cli recipe and installed through Cargo. The version command returned zoxide 0.10.0, and help returned the command list.
Then the recipe stopped. Its usage step failed because it found no runnable command in the README's usage/examples sections. That describes the recipe's extraction failure, not a demonstrated navigation failure: the current README visibly contains z examples, and those examples require shell setup. The recorded teardown completed. The later passing Cargo checks add build evidence without turning that earlier quickstart into a completed jump demonstration.
Where people get stuck
The zoxide 0.10.0 macOS walkthrough starts with a working executable but no z shell function, until shell initialization is added. The README treats installing the binary and setting up the shell as separate steps. This is the first distinction to make when you see a command-not-found message: find out which command is missing before reinstalling anything.
| Symptom | What to check or change | Basis |
|---|---|---|
zoxide is missing |
Find the executable and correct PATH before editing shell hooks | zoxide.org troubleshooting |
z is missing but zoxide works |
Load the initialization line for the shell actually running | Quick start |
no match found |
Check that the destination is learned, then use its final folder name as the last keyword | macOS walkthrough |
| The wrong project wins | Add another path fragment, choose with zi, or remove the unwanted history entry |
Troubleshooting |
| Old destinations work, new ones don't | Put initialization after prompt themes and plugins, then check learning through a fresh directory visit | Troubleshooting |
zi cannot find fzf or open a terminal |
Install fzf separately and run the chooser in an interactive terminal | Troubleshooting |
Manual addition and automatic learning answer different questions. zoxide add can prove that a destination enters the database, while leaving a broken prompt hook undetected. zoxide.org's troubleshooting tests describe PowerShell themes replacing the prompt function after initialization, stopping learning silently. A useful setup check therefore includes visiting a new directory normally and finding it in the database afterward.
Replacing cd adds another failure surface. In issue #694, users reported recursion, hangs or terminal crashes with older Debian and Ubuntu packages. Reporters said newer Cargo or upstream-script installations resolved their cases. In Fish issue #145, pnunn reported that upgrading to 0.9.4 made the alias work after earlier attempts failed. Those are reasons to inspect the installed version and shell setup before copying an alias from an old article.
Slow storage changes the lookup tradeoff
Directory existence checks can delay results on HDDs and network storage, according to issue #182. MahouShoujoMivutilde reported a list arriving in parts when some learned paths lived on slower disks or a NAS. The maintainer explained that zoxide checks whether matched directories still exist, which can require accessing those disks.
The same thread provides a choice rather than a universal speed claim. zoxide query --all bypasses existence checks and can return deleted destinations. Alternatively, _ZO_EXCLUDE_DIRS can keep the slow storage out of the database, sacrificing those destinations while retaining checks elsewhere. Pick the cost you can tolerate: stale candidates or a smaller history. Treat blanket claims about instant navigation cautiously when your work spans sleeping drives or network mounts.
Your directory history needs a deliberate home
The current README documents _ZO_DATA_DIR for the database directory; Windows reports in #539 include a later recurrence on 0.9.7. Those settings matter if directory names expose clients or private projects. Excluding a path controls its inclusion in this history; it is not a claim about encryption or the rest of your shell history.
Windows users should distinguish a closed ticket from a confirmed fix on their own setup. In issue #539, several participants said score editing no longer produced duplicate paths, but tommdq later reported doubled separators on 0.9.7. The thread does not establish a universal resolution. Likewise, fellnerse's Nushell report in #433 describes periodically purged history on macOS; moving the database did not help, and the discussion ends without a confirmed cause.
For Zsh plugin managers, command names can differ too. The z-shell wrapper documents x and xi with Zi and a database location under $ZPFX/share. Its other plugin-manager configuration uses z and zi. If your commands or history seem absent after changing plugin managers, inspect those defaults before deleting the database.
zoxide vs cd, z, autojump and fzf
Keep cd for exact navigation; compare the learned jumpers by their matching and integration behavior. The zoxide.org comparison exercised a shared directory history in separate Bash sessions. Its results expose useful differences without establishing a universal performance winner.
| Choice | When it fits | Concrete distinction |
|---|---|---|
Plain cd |
You know the path or need a deterministic script | No learned ranking decides which project you enter |
| zoxide | You return to learned folders and want explicit database commands | The comparison exercised full-path removal and history import |
| rupa/z | Your existing sourced-script workflow already does enough | The comparison removed the current directory's record with z -x |
| autojump | You already use j or depend on its matching behavior |
It matched apiserver to api-server in the comparison, while zoxide did not |
| fzf plus recursive directory search | You need to discover folders you haven't visited | It searches candidates you supply rather than maintaining zoxide's learned directory history |
| fasd | You want history-based file lookup as well as directories | The comparison retrieved a learned text-file path with f notes |
The table combines the controlled comparison with the Hacker News discussion of recursive search. fzf also complements zoxide through zi, so you can use both. A filesystem search finds unvisited folders; a learned directory list avoids having to discover the whole tree every time.
For zoxide vs z and zsh-z, the current README documents separate import commands for both histories. For zoxide vs autojump, the comparison retained the learned paths when importing from autojump's default database. Preserve a copy before migration, and try your real keywords: keeping destinations doesn't make the tools' matching rules identical. In particular, dropping punctuation from a folder name changed the outcome in the comparison.
What the other reviews get wrong
Lifehacker.dev's honest review overgeneralizes from Bash when it says zoxide cannot learn or be used in scripts. Its own initialized Bash example jumps successfully with populated history. Separately, zoxide.org's Zsh walkthrough records changes in an initialized noninteractive script. Keeping scripts on deterministic cd is sound advice without turning that preference into an inability claim.
The zoxide.net homepage says installation is enough to start navigating and promises access to any folder. The project's installation instructions require shell setup, and learned keyword jumps depend on recorded destinations. The same homepage calls itself independent while also presenting official-site and creator language. Use the maintainer's GitHub repository for project identity.
Quick Programming's mbvissers article says aliasing cd does no harm. The reports in #145 and #694 make that too broad across shells and versions. The article's successful personal workflow can still be useful without becoming a guarantee for yours.
Older instructions also need context. The sophiajt fork documents --from import syntax, whereas the comparison's zoxide 0.10.0 rejected it and used source-specific subcommands. The 2021 Linux guide's score-only explanation also omits the final-component matching constraint illustrated by Lifehacker.dev: raising a score does not remove the need for the final keyword to match the destination folder. Read a guide against the command help for your installed version.
Questions people ask
zoxide is a terminal directory jumper that remembers visited folders, as the project README explains.
Where is the official zoxide GitHub repository?
The maintainer's repository is ajeetdsouza/zoxide. Start there for downloads, shell setup and configuration rather than assuming a domain bearing the project name is maintainer-operated.
How do I install zoxide on Linux?
The README documents the upstream install script and package-manager routes, including cargo install zoxide --locked. It warns about older Debian and Ubuntu derivative packages. After installing the binary, add the initializer for your shell, such as eval "$(zoxide init bash)" at the end of ~/.bashrc for Bash.
How do I install and configure zoxide on Windows?
The Windows instructions recommend winget install ajeetdsouza.zoxide. For PowerShell, add Invoke-Expression (& { (zoxide init powershell | Out-String) }) to the end of the profile. Reopen the shell and check a newly learned destination, especially if a prompt theme also changes the profile.
How do I install zoxide on a Mac with Homebrew?
For zoxide on macOS, the README documents brew install zoxide, followed by shell initialization. For Zsh, add eval "$(zoxide init zsh)" to the end of ~/.zshrc, after compinit when using completions. The brew command alone doesn't create z.
How do I configure zoxide with Oh My Zsh without conflicts?
Put zoxide initialization after completion setup and other shell configuration, following the README. For Oh My Zsh, inspect what your plugins already load before adding another initializer. Issue #694 includes reports from Oh My Zsh users with old packages and says newer installations resolved the reported recursion cases.
Does the zoxide tablet search refer to this terminal project?
The search phrase alone does not identify a tablet product or establish tablet compatibility. The README describes a terminal tool and documents Android installation through Termux. The tablet-specific evaluation boundary is collected below.
How does zoxide compare with z and zsh-z?
zoxide provides a compiled directory-history tool and shell integration; the Bash comparison describes rupa/z as a sourced-script option. The README documents zoxide import z and zoxide import zsh-z separately. A working current setup is a reasonable reason to stay where you are.
Should I switch from autojump to zoxide?
Switch when zoxide's shell setup and optional fzf chooser solve a problem you actually have. The comparison demonstrates history migration but also a matching difference: autojump accepted apiserver for api-server where zoxide did not. Try your habitual inputs before making the switch permanent.
When should I use zoxide instead of cd?
Use zoxide for repeated destinations whose names are easier to type than their paths, like Nick-Anus's repository workflow. Keep cd when an exact path is the clearest instruction. You don't have to replace one command with the other.
How does zoxide differ from fzf, jump and eza?
The current README requires fzf v0.51.0 or later for its optional interactive chooser. The X discussion describes eza as a directory-listing tool, which is a different task. A comparative result for jump is outside the testing described below.
Is there anything like zoxide for files?
fasd is a candidate: the comparison retrieved a learned text-file path after visiting it through cat. That is file lookup, not a demonstrated editor-launch workflow. It is a better starting point for that requirement than expecting zoxide's directory history to become a file index.
Can Fish history completion help me re-enter recently used filenames?
Uhh_Clem in the r/commandline discussion about files describes using Alt+Up to complete a recently used filename from command history. That is distinct from maintaining zoxide's directory database. The testing boundary for file completion is below.
What we have not tested yet
Our source checks do not measure directory lookup latency, interactive picker behavior or whether ranked navigation improves your work. The earlier quickstart stopped before a real jump. We have not reproduced the Windows score-editing report, the Nushell history-loss report, the old alias failures or behavior on sleeping disks and NAS storage. Community reports describe their authors' configurations, not a guaranteed outcome on yours.
The comparison sources don't establish a universal performance winner, and the macOS walkthrough's timings belong to its own setup. We have no controlled comparison with jump, no tablet-specific evaluation, and no first-hand Fish filename-completion result. The YouTube records contain no transcript extracts and Bilibili contributes titles only, so neither supports a claimed walkthrough outcome here. Our sandbox image label cannot establish the actual runtime versions. For your next step, keep cd, initialize z, and use distinct real project names to see whether the choices make sense.


