menucd is a terminal-based directory browser and changer built around a small ncurses interface. It displays the subdirectories of the current location alongside saved bookmarks, letting you move through the filesystem without repeatedly typing paths.
The program deliberately keeps its scope narrow. It is not a general-purpose file manager and does not offer copying, moving or deleting files. Instead, it concentrates on browsing directories, maintaining bookmarks and handing the selected path back to the current shell. A small wrapper function is used because a child process cannot directly change its parent shell’s working directory.
This is free and open source software.
Key Features
- Displays subdirectories and saved bookmarks in an ncurses menu.
- Navigate the list with the arrow keys and page navigation keys.
- Incremental filtering narrows the displayed directories as you type.
- Save the current directory as a bookmark for later access.
- Delete unwanted bookmarks directly from the interface with a confirmation step.
- Use Backspace to move immediately to the parent directory.
- Accepts an optional starting directory, allowing the browser to open somewhere other than the current working directory.
- Can quit while changing to the currently selected directory or cancel without altering the shell’s location.
- Includes an integrated help screen showing the available key bindings.
- Stores bookmarks beneath the XDG data directory, falling back to the user’s local data directory.
- Uses a lightweight shell wrapper to transfer the chosen path back to the calling shell.
- Works with shell configuration files such as those used by Bash and Zsh.
- Runs on Linux as well as BSD systems and macOS.
- Uses ncurses and its menu library for the terminal user interface.
- Builds with the Meson build system and a standard C compiler.
Website: github.com/andy5995/menucd
Support:
Developer: Andy Alt
License: The Unlicense
menucd is written in Bash. Learn Bash with our recommended free books and free tutorials.
Related Software
| Shell tools | |
|---|---|
| fzf | Command-line fuzzy finder for your shell |
| zoxide | Smarter cd command, inspired by z and autojump |
| broot | Reviewed under our Excellent Utilities series |
| McFly | Also reviewed under our Excellent Utilities series |
| z | Maintains a jump-list of the directories you actually use |
| autojump | Offers a fast way to navigate your filesystem |
| z.lua | Helps you navigate faster by learning your habits |
| HSTR | Bash and zsh shell history suggest box |
| Zsh-z | Fast directory jumping based on frecency |
| enhancd | Next-generation cd command |
| fzy | Simple, fast fuzzy finder for the terminal |
| Navita | Rapid directory traversal |
| Jump | Quick and fuzzy directory jumper |
| walk | Simple and minimalistic terminal navigator |
| lacy | cd alternative that makes navigating much more efficient |
| DF-SHOW | Directory File Show |
| fz | Adds fuzzy search to tab completion of z |
| pazi | Fast autojump helper |
| jumper | Files/directories jumper |
| cdhist | Linux shell cd history directory stack |
| icd | Shell utility that makes changing directories quicker and more convenient |
| SD | Dynamic directory navigation from the command line |
| Dongle | Move around deep directory trees |
| cdwe | cd with env vars |
| fastdiract | Quick shell navigation and command execution |
| zm | cd for lazy people |
| slingshot | Lightweight tool to browse files in the terminal |
| qcd | Quickly change directory |
| nav | Quickly navigate through directories |
| menucd | Directory browser and changer |
| kn | Navigate folders quickly |
| jmp | The superior cd |
| gump | Smarter cd command |
Read our verdict in the software roundup.
Explore our carefully curated directory of recommended free and open source software, covering every major software category.The directory forms part of our extensive collection of articles for Linux enthusiasts. It includes hundreds of detailed reviews, together with free and open source alternatives to proprietary software from companies such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. LinuxLinks also covers interesting projects worth exploring, Linux-compatible hardware, free programming books and tutorials, and much more. Know a useful free and open source Linux application that we haven’t covered? Tell us about it using our submission form. |


Please read our Comment Policy before commenting.