mrkeyoor.comAsk

ajeetdsouza/zoxidetested 19 Nov 2026commit 2f4bceb

zoxide review

Our zoxide build passed in 27 seconds and all 18 tests passed in 35 seconds, supporting a trial for people who repeatedly return to familiar directories.

  • README install 52 s
  • README usage failed
18/18tests passed
  • Install 4 s
  • Build 27 s
Dev Toolsevaluationupdated 30 Nov 2026
+133stars / 7d

zoxide is a terminal tool that remembers directories you visit and returns you to them with short keywords. It ranks matching destinations, while an optional fzf chooser lets you select one yourself.

Verdict

Our zoxide build passed in 27 seconds and all 18 tests passed in 35 seconds, supporting a trial for people who repeatedly return to familiar directories. Use it alongside cd if short learned names save you repetitive typing. Skip it if checking ambiguous ranked destinations interrupts your flow, as Latty describes in the Hacker News discussion.

zoxide infographic: return to familiar directories with short keywords, plus our test result and who it suits
Tested 14 November 2026: the README command failed. Before that: 5 Oct: 32 of 32 source tests passed; cargo install took 52 s.

We ran it

Lab card: what happened when we ran zoxide
Lab card from our sandbox run
Screenshot of zoxide (crates.io/crates/zoxide)
crates.io/crates/zoxide
Install✓ · 4s59 packages
Build✓ · 27s
Tests✓ · 35s18 passed · 0 failed of 18 (cargo test)
Repo74 files~3,711 lines of source · 0.9 MB · 5 CI workflows · tests dir

Answers from our run

Does zoxide build from source?

Dependencies installed in 4 seconds (59 packages), and the build succeeded in 27 seconds. We cloned commit 2f4bceb into a clean Debian container with 3 CPUs and no project-specific setup.

Do zoxide's tests pass?

Yes. The project's own test command finished in 35 seconds and reported 18 passed, 0 failed (cargo test).

Who should not use zoxide?

Users who find changing ranked shortcuts distracting: Latty reports preferring Zsh history and completion for that reason.

What are the alternatives to zoxide?

z, autojump, fzf. Our zoxide build passed in 27 seconds and all 18 tests passed in 35 seconds, supporting a trial for people who repeatedly return to familiar directories.

Setup4/5In our 2026-11-14 run it installed in 52 s and its command responded; the README gave no task we could run as written.Editor’s note: The recorded source install, build and tests passed, but shell navigation was not completed by our quickstart recipe.
Docs4/5The README has an install section (“Getting started”) and usage in the same section; we did not run its quickstart ourselves.Editor’s note: The README separates binary installation, shell initialization and optional fzf setup; documentation quality across every shell was not assessed.
Community5/5Last push on 2026-11-30, 40,886 stars and maintainers answered or closed 10 of the 10 most-discussed issues we sampled.Editor’s note: Reddit, X and issue discussions document individual workflows and failures, but no support-response or adoption score was measured.
Maturity4/5Latest release v0.10.0 on 2026-07-04 (pre-1.0), repository created 2020-03-05 and its test suite passed in our sandbox (18 of 18 passed).Editor’s note: Passing Cargo checks cover the recorded checkout, while long-term database reliability and cross-platform integration were not assessed.

How we score

Discussed on

  1. hnZoxide: A Better CD Command324 points
  2. hnA smarter CD command. Supports all major shells33 points
  3. hnZoxide: Smarter CD command, inspired by z and autojump4 points
  4. hnZoxide – smart, fuzzy-matching cd alternative written in Rust3 points

Who it’s for

Developers who repeatedly jump between a familiar set of project directories.
Terminal users willing to initialize their shell and use more specific fragments when names collide.
Fish or Zsh users who want learned jumps alongside their existing completion habits.

Who it’s NOT for

Users who find changing ranked shortcuts distracting: Latty reports preferring Zsh history and completion for that reason.
Anyone seeking a complete filesystem index: learned keyword jumps depend on directory history.
Users expecting zoxide alone to browse and open files: the XDA workflow adds yazi for that job.

Setup reality

Our November 19, 2026 run at 2f4bceb installed dependencies in 4 seconds, built successfully in 27 seconds and passed all 18 Cargo tests in 35 seconds. It recorded 59 dependencies in a sandbox configured with 3 CPUs, 12 GB RAM and image label lab-rust:1; the label does not establish actual runtime versions.

The executable needs shell initialization before z exists. The README gives separate commands for Bash, Zsh, Fish, PowerShell and other shells. fzf is optional for ordinary jumps and required for the interactive chooser. Check automatic learning through an ordinary new directory visit, as well as a manual addition.

Older package and cd-replacement reports are shell-specific. Keep ordinary cd initially, place initialization after your theme and plugins, and inspect the installed version before using advice from an old guide.

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 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.

Alternatives

ProjectWhat it isPick it when
zA sourced-script directory jumper used in Bash and Zsh.Pick this instead when your existing z workflow already gives you the navigation you need.
autojumpA directory-history navigator with a j wrapper.Pick this instead when you prefer its existing j workflow or rely on matching inputs such as apiserver to api-server.
fzf gh↗An interactive fuzzy finder that also powers zoxide selection.Pick this with a directory-search command when discovering unvisited folders matters more than ranking learned destinations.

Sources

  1. zoxide README
  2. zoxide matching and migrations comparison
  3. Directory navigation tradeoffs on Hacker News
  4. zoxide troubleshooting
  5. Windows score-editing reports
  6. Slow storage and existence checks

More dev tools reviews