zoxide is a smarter cd command that supports all major shells, inspired by z and autojump. It remembers the directories you use most, so you can “jump” to them with just a few keystrokes.
Step 1: Install zoxide
zoxide runs on most major platforms.
Linux
To install zoxide, run this command in terminal:
curl -sS https://raw.githubusercontent.com/ajeetdsouza/zoxide/main/install.sh | bash
Mac
Run this command in terminal:
curl -sS https://raw.githubusercontent.com/ajeetdsouza/zoxide/main/install.sh | bash
Windows
To install zoxide, run this command at the command prompt:
curl.exe -A "MS" https://webinstall.dev/zoxide | powershell
Step 2: Add zoxide to your shell
To start using zoxide, add it to your shell.
Zsh
Add this to your config (usually ~/.zshrc
):
eval "$(zoxide init zsh)"
Nushell
Add this to your env file (find it by running $nu.env-path in Nushell):
#zoxide #Homepage #Documentation #Downloads #Smarter #Command #News Fast Delivery