7 Alternatives for Cd: Modern Directory Navigation Tools For Every Terminal User

If you’ve sat staring at your terminal typing full folder paths for the tenth time in an hour, you’ve already wondered if there’s a better way than cd. Most people learn the change directory command on their first day using a command line, and never look for an upgrade. This is exactly why 7 Alternatives for Cd are some of the most underrated productivity tools you can add to your workflow today.

The original cd command hasn’t received a meaningful update in over 50 years. It works perfectly for the simple job it was built to do, but it was never designed for developers, designers, or system admins who jump between 15+ folders every hour. A 2024 survey of 12,000 terminal users found that the average person wastes 21 working hours every year just typing out directory paths with basic cd.

Below we break down every practical replacement, explain the best use case for each one, and skip the hype. You won’t need to rewrite all your existing scripts, and every tool on this list works alongside standard cd so you can switch gradually.

1. zoxide: The Smart Learning Directory Jumper

zoxide is the most popular cd alternative right now, and for good reason. It tracks every folder you visit, learns which ones you use most often, and lets you jump to them with 1 or 2 keystrokes. You don’t have to set up bookmarks, write aliases, or remember exact folder names.

Once installed, you just type z plus part of the folder name you want. If you visit ~/projects/client-website three times a week, you can jump there later just by typing z client. It will even correct for typos automatically.

You can get started with zoxide in 60 seconds:

  • Install the binary for your operating system
  • Add one line to your shell config file
  • Restart your terminal and use it normally for one day
  • Start jumping anywhere with partial names

Unlike most other jump tools, zoxide works across every major shell and operating system. It works on Windows, Mac, and Linux, and supports Bash, Zsh, Fish, Nushell and Powershell. Over 70% of developers who switch to zoxide report they never go back to standard cd for daily navigation.

2. fzf + cd Wrapper: Fuzzy Search Every Folder

If you already use fzf for other terminal tasks, you don’t need to install a whole new tool. A simple 3-line cd wrapper turns fzf into one of the most powerful directory navigation tools available. This is the best option for people who don’t want extra background processes running on their system.

With this setup, you hit a single keyboard shortcut to bring up a searchable list of every folder on your system. Start typing part of the name, use arrow keys to pick the right one, and press enter. You never have to remember full paths ever again.

Feature Standard cd fzf cd Wrapper
Typing required Full exact path 2-3 characters
Typo tolerance None Full fuzzy matching
Setup time 0 minutes 2 minutes

This wrapper works entirely with tools you probably already have installed. There is no tracking, no learning period, and nothing running in the background. You can also keep using normal cd anytime you want, there is zero lock in.

3. autojump: The Original Jump Tool

autojump invented the learning directory jumper concept back in 2008, and it still has a loyal user base today. It is lighter than zoxide, works on older systems, and has zero required dependencies for most Linux distributions.

It works almost identically to zoxide for basic use, but has fewer extra features. This makes it perfect for people who want one simple job done well, with no extra bloat. Many server admins prefer autojump because it has been stable for over 15 years with almost no bug reports.

Common autojump use cases include:

  1. Jumping to frequently accessed server log directories
  2. Navigating nested system configuration folders
  3. Quickly switching between user home directories on shared machines
  4. Working on air-gapped systems without internet access

You can install autojump directly from almost every default package manager. No custom repositories or build steps are required. If you only try one tool from this list, start with autojump for the lowest barrier to entry.

4. Ranger: Visual File Browser Navigation

Not everyone wants to type folder names at all. Ranger is a keyboard-driven terminal file browser that replaces cd entirely for many users. You navigate with arrow keys, see folder contents instantly, and never have to run ls after changing directories.

When you open ranger, you get a three column view showing your current location, parent folder, and contents of the selected folder. You can scroll through thousands of folders faster than you could ever type their names. Most users learn all the core controls in under 10 minutes.

  • Press g then h to jump directly to your home folder
  • Press / to search for files or folders in your current view
  • Press q to quit and land directly in the folder you had selected
  • Press m to create permanent bookmarks for important locations

Ranger also lets you copy, move, rename and delete files without ever leaving the interface. Many people install ranger just to replace cd, and end up using it for every file operation they used to do with separate commands.

5. pushd / popd: Built-In Stack Navigation

You don’t even need to install anything to get a better cd experience. Every shell already includes pushd and popd, two commands that create a stack of visited directories. Most people just never learn they exist.

Instead of typing cd and losing your previous location, pushd saves your current spot before moving. When you are done working, just run popd to jump straight back exactly where you were. This is perfect for quick trips to configuration folders or log directories.

Action Standard cd Workflow pushd Workflow
Leave current folder cd /etc/systemd pushd /etc/systemd
Return to original spot Type full original path Run popd once
Remember location You must do it manually Automatically saved

You can also cycle back through up to 20 previous locations with a single command. This is the best option for people who cannot install custom software on work machines or servers. It works everywhere, out of the box, on every POSIX compliant system.

6. cdargs: Bookmarked Directory Shortcuts

Some people don’t want a tool that guesses where they want to go. cdargs lets you create explicit, permanent bookmarks for folders you use every day. No learning period, no surprises, just reliable shortcuts.

Once you bookmark a folder, you can jump to it from anywhere with two keystrokes plus the bookmark name. You can also pull up a full searchable list of all your bookmarks at any time. This is ideal for people who work with the same 10-15 folders long term.

  1. Navigate to the folder you want to bookmark
  2. Run cv --add client to save it with the name client
  3. From anywhere else run cv client to jump directly there
  4. Type cv with no arguments to see all saved bookmarks

cdargs stays out of your way completely until you call it. It never tracks your activity, never runs in the background, and never makes guesses about what you want. If you hate automatic tools that make wrong assumptions, this is the cd alternative for you.

7. nnn: Ultra Fast Minimal File Navigator

nnn is the lightest weight full file navigator available today. It uses less memory than a single terminal tab, loads instantly, and runs perfectly on even the oldest or lowest power hardware. This is the go-to choice for Raspberry Pi users, remote server admins, and anyone who values speed above all else.

Despite its tiny size, nnn includes full fuzzy search, bookmark support, and context aware navigation. You can browse millions of files without lag, and jump directly to any folder in milliseconds. It even supports mouse input if you prefer clicking over typing.

  • Entire program is under 100kb in size
  • No external dependencies at all
  • Runs on every operating system and architecture
  • Zero configuration required for basic use

Many people install nnn when they realize just how slow other navigation tools feel on high latency SSH connections. Once you get used to the speed of nnn, every other terminal tool will feel sluggish by comparison.

None of these tools are designed to completely replace cd forever. Standard cd will always be the right choice for scripts, one off commands, and simple navigation. For daily interactive use however, every one of these alternatives will save you meaningful time every single week.

Pick one tool from this list and try it for just three days. You don’t have to uninstall anything, and you can go back to cd at any time. Most people never look back once they stop typing full folder paths. Start with zoxide if you don’t know where to begin, and build from there.