Newpass is a simple and secure command-line tool that allows you to generate strong and random passwords with customizable options. With this tool, you can create unique passwords for your various accounts and services, ensuring better security for your online presence.
- Control the length of the generated password.
- Choose whether to include uppercase letters, lowercase letters, numbers, and special - characters.
- Copy the generated password directly to your clipboard for easy use.
- No internet connection required; all processing is done locally on your machine.
Ensure you have PHP installed on your machine. Then, run the following command in your terminal:
composer global require lyndipc/newpass
To generate a new password, run the following command in your terminal:
newpass [options]
- -l, --lowercase: Include lowercase letters in the password.
- -u, --uppercase: Include uppercase letters in the password.
- -s, --symbols: Include symbols in the password.
- -n, --numbers: Include numbers in the password.
- -t, --length : Specify the length of the password (default: 28 characters).
- Generate a 16-character random password with uppercase letters, lowercase letters, numbers, and symbols:
newpass -t 16 -u -l -n -s
- Generate a 12-character random password with only uppercase letters and numbers:
newpass -t 12 -u -n
This project is licensed under the MIT License - see the LICENSE.md file for details.
Contributions to this project are welcome! If you find a bug or would like to request a new feature, please open an issue or submit a pull request.