Pass is a simple command-line tool that generates secure passwords. It's easy to install and use on both macOS and Linux.
You can install Pass with a single command:
bash <(curl -s https://raw.githubusercontent.com/yldrmzffr/pass/main/scripts/install.sh)
This command will:
- Download the right version for your computer (macOS or Linux)
- Install it in your home folder
- Make it ready to use
After installation, you might need to restart your terminal or run:
source ~/.bashrc # If you use Bash
or
source ~/.zshrc # If you use Zsh
To generate a password, use the pass
command followed by options:
pass [options]
-l
or--length
: Set the length of the password (default is 12)-u
or--uppercase
: Include uppercase letters-w
or--lowercase
: Include lowercase letters-d
or--digits
: Include numbers-s
or--special
: Include special characters
-
Generate a password with default settings (12 characters, all types):
pass
-
Generate a 16-character password with uppercase and lowercase letters:
pass -l 16 -u -w
-
Generate an 8-character password with only numbers and special characters:
pass -l 8 -d -s
-
Generate a 20-character password with all types of characters:
pass -l 20 -u -w -d -s
If you want to build Pass from source:
- Make sure you have Go installed on your computer.
- Clone this repository:
git clone https://github.com/yldrmzffr/pass.git
- Go to the project folder:
cd pass
- Build the project:
./scripts/build.sh
- The built files will be in the
bin
folder.
We welcome contributions! Here's how you can help:
- Fork the repository
- Create a new branch for your feature
- Make your changes
- Submit a pull request
Please make sure to update tests as needed.
This project is licensed under the MIT License. See the LICENSE file for details.