bookmark is a tool that allows you to bookmark and navigate directories via the CLI command line.
This tool is available in bash, fish and powershell shells.
Once installed, bookmark command and bm and bma commands are available.
Note: This tool requires peco
Bookmark the current directory:
bma # or 'bookmark add'Go to the selected directory from the bookmark list:
bmOpen the bookmark list and delete the selected directory:
bookmark removeDelete non-existent directories from the database:
bookmark refreshCurrently binaries are released for Windows (amd64) and Linux (amd64, arm64).
Binaries for each platform are available from the release page.
Place the executable in your shell's $PATHed directory.
The following script must be added to the shell configuration file.
Add the following to ~/.bashrc
eval "$(bookmark init bash)"Add the following to ~/.config/fish/config.fish
bookmark init fish | sourceAdd the following to your $PROFILE
Invoke-Expression (& {
(bookmark init powershell | Out-String)
})This tool uses a SQLite database. The database is created in the bookmark directory at the following location:
%LocalAppData%(Windows)$HOME/.cache(Linux)
The location of the path can be checked with bookmark status
If you want to delete the database completely, please manually delete bookmark directory.
The source code license for this repository is MIT.
Feel free to fork it, as it is a personal tool.
I am a learner of the program, so please feel free to send me any bug report, feedback or advice you may have 😉