A lightweight, secure, and customizable password generator for command-line enthusiasts.
- Generate cryptographically secure passwords using /dev/random
- Blazing fast execution with zero dependencies
- Customizable password length and complexity
- Cross-platform support (Linux, macOS, WSL2)
- Copy to clipboard functionality (where available)
- Multiple password generation in one command
- Strength indicator for generated passwords
git clone https://github.com/mateuscomh/shellPass.git
cd shellPass
chmod +x shellPass.sh
sudo cp shellPass.sh /usr/local/bin/shellpass
Basic password generation: To generate a default 12-character password, run:
$ ./shellPass.sh
To generate a password with specific length (ex: 20 chars):
$ ./shellPass.sh 20
To generate multiple passwords (ex: 5 passwords of 16 chars each):
$ ./shellPass.sh 16 5
To show the help menu with all available options:
$ ./shellPass.sh -h
Pro Tip: For quick access, add this alias to your shell configuration file (.bashrc, .zshrc, etc.):
$ alias passgen='~/path/to/shellPass.sh'
Contributions to this project are welcome. If you have any suggestions, bug fixes, or improvements, feel free to open an issue or submit a pull request.
This project is licensed under the GPL-3.0 License. See the LICENSE file for more details.
Made with ❤️ by Matheus Martins