sudo apt install zoxide

Category: Terminal Configuration

sudo apt install zoxide

Install zoxide — smarter cd that learns your habits

zoxide tracks which directories you visit and ranks them by frequency. After installing, `eval "$(zoxide init bash)"` replaces cd with z. Type `z proj` and it jumps to /home/user/workspace/my-project if that's where you go most often.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.