DEV Community

Alex Spinov
Alex Spinov

Posted on

Zoxide Has a Free Smart CD Command — Never Type Long Directory Paths Again

Zoxide is a smarter cd command that learns your habits and jumps to directories by partial name.

What You Get for Free

  • Frecency algorithm — ranks directories by frequency + recency
  • Fuzzy matchingz proj jumps to /home/user/code/my-project
  • Interactive selectionzi for fzf-powered directory picker
  • Shell integration — bash, zsh, fish, PowerShell, Nushell, Xonsh
  • Cross-platform — Linux, macOS, Windows
  • Fast — written in Rust, instant results
  • Import — migrate from z, autojump, fasd

Quick Start

# Install
brew install zoxide  # or curl -sSfL https://raw.githubusercontent.com/ajeetdsouza/zoxide/main/install.sh | sh

# Add to .zshrc
eval "$(zoxide init zsh)"

# Use it (learns as you cd around)
z proj         # jumps to ~/code/my-project
z doc down     # jumps to ~/Documents/Downloads
zi             # interactive fuzzy finder
Enter fullscreen mode Exit fullscreen mode

Why Developers Love It

cd with full paths is tedious. cd ../../../somewhere/deep/nested:

  • 2 keystrokesz deep instead of cd ../../../../deeply/nested/directory
  • Learns — gets smarter as you use it
  • Fuzzy — partial matches work
  • Instant — Rust performance, no lag

A developer was typing 80+ character cd commands dozens of times daily. After installing zoxide, most directory changes are 5-10 characters — estimated time savings of 15 minutes per day.


Need Custom Data Solutions?

I build production-grade scrapers and data pipelines for startups, agencies, and research teams.

Browse 88+ ready-made scrapers on Apify → — Reddit, HN, LinkedIn, Google, Amazon, and more.

Custom project? Email me: spinov001@gmail.com — fast turnaround, fair pricing.

Top comments (0)