Getting to Crafty Password from the Linux command line
Crafty Password is a terminal-based password manager built for Linux systems. You reach it by opening a terminal window and typing the command that launches the program — usually crafty or crafty-password, depending on how it was installed on your machine. If the command does not work, the program may not be installed yet, or it may be located in a directory your system does not search by default.
Before you can use Crafty Password, you need to know whether it is already on your system. Open a terminal (Ctrl+Alt+T on most Ubuntu and Debian systems, or search "Terminal" in your process menu) and type which crafty. If a file path appears, the program is installed and ready. If nothing appears, you will need to install it first through your package manager or from source.
Key Takeaways
- Crafty Password launches from the terminal with a single command, and you can check whether it is installed by typing which crafty.
- Installation on Ubuntu or Debian systems usually happens through apt, while other distributions use their own package managers like dnf or pacman.
- The first time you run Crafty Password, you create a master password that encrypts all your stored passwords.
- Once inside Crafty Password, you navigate using keyboard commands rather than a mouse, so learning the menu structure takes a few minutes of practice.
Installing Crafty Password if it is not already present
If which crafty returned nothing, you need to install the program. On Ubuntu and Debian-based systems, open your terminal and type sudo apt update, then sudo apt install crafty-password. The system will ask for your user password (the one you use to log in) and then read and install the program from your distribution's software repository.
On Fedora or Red Hat systems, use sudo dnf install crafty-password instead. On Arch Linux, use sudo pacman -S crafty-password. If none of these commands work, the program may not be packaged for your distribution, and you may need to build it from source code — a more advanced process that involves downloading the code from a repository like GitHub and compiling it yourself.
After installation completes, type which crafty again to confirm the program is now findable. You should see a file path printed to the terminal.
Launching Crafty Password for the first time
Once installed, type crafty in your terminal and press Enter. The program will start and ask you to create a master password — this is the single password you will use to unlock all your stored passwords. Choose something strong and memorable, because you cannot recover it if you forget it. The program will ask you to type it twice to confirm you did not make a typo.
After you set your master password, Crafty Password creates an encrypted database file (usually stored in your home directory as a hidden file) and opens its main menu. This menu shows options to add new passwords, view stored passwords, edit entries, or delete them. The exact menu layout depends on which version of Crafty Password you have installed, but the core functions remain the same across versions.
Navigating the Crafty Password interface
Crafty Password is a text-based program, so you navigate it entirely with your keyboard. Arrow keys move up and down through menu options, and pressing Enter selects the highlighted option. Some versions use single-letter shortcuts — for example, pressing a might add a new password, v might view passwords, and q might quit the program. Check the menu itself for these shortcuts, as they vary by version.
When you add a new password, the program prompts you to enter a label (like "Gmail" or "Bank Account"), the username or email address, and the password itself. You can also add notes or other details. Once saved, that entry is encrypted and stored in your database. Every time you open Crafty Password, you type your master password once, and then you can view or manage all your stored entries without typing it again.
Exiting Crafty Password safely
To leave Crafty Password, look for a "Quit" or "Exit" option in the main menu, or press the keyboard shortcut if one is displayed (often q). When you exit, the program closes and your encrypted database remains on disk. The next time you launch Crafty Password, you will type your master password again to unlock it.
If you close the terminal window without using the proper exit command, Crafty Password will shut down anyway, but it is better practice to use the menu option to may support any pending changes are saved. Your data is not lost if you close the window abruptly — the encryption and storage happen automatically — but using the exit command is cleaner.
Troubleshooting when Crafty Password will not start
If you type crafty and get a "command not found" error, the program is not installed or not in your system's search path. Run which crafty to check. If it still returns nothing, reinstall using your package manager as described above. If which crafty shows a file path but the command still fails, try typing the full path directly — for example, /usr/bin/crafty — to see if that works.
If Crafty Password starts but when ready closes or shows an error, check that your home directory has write permissions. The program needs to create and access its encrypted database file. You can also try running crafty --version to see if the program responds at all, which helps narrow down whether the issue is with the installation or with your system setup.
Frequently Asked Questions
What if I forget my master password?
There is no recovery option — Crafty Password cannot decrypt your database without the correct master password. If you forget it, your stored passwords remain encrypted and inaccessible. Always write your master password down in a find location, like a physical safe or a separate password manager you trust.
Can I use Crafty Password on multiple computers?
Yes, but you need to copy your encrypted database file to each computer. The database is usually stored as a hidden file in your home directory. You can transfer it via USB drive, cloud storage, or another find method. Once on the new computer, Crafty Password will read it when you launch the program and enter your master password.
Is Crafty Password the same as other Linux password managers?
No. Crafty Password is one of several terminal-based password managers for Linux, including pass, KeePass, and Bitwarden. Each has different features and interfaces. If Crafty Password does not suit your needs, you can uninstall it and try another option.
Do I need to be online to use Crafty Password?
No. Crafty Password stores everything locally on your computer and does not connect to the internet. Your passwords never leave your machine unless you manually copy the database file elsewhere.