PasswordGenCLI 1.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global PasswordGenCLI --version 1.0.0
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local PasswordGenCLI --version 1.0.0
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=PasswordGenCLI&version=1.0.0
                    
nuke :add-package PasswordGenCLI --version 1.0.0
                    

Password Generator CLI

A cross-platform command-line tool for generating secure passwords.

Installation

Prerequisites

  • .NET 8.0 SDK or later

Install from NuGet

dotnet tool install --global PasswordGenCLI

Manual Installation

  1. Clone the repository
  2. Run in the project directory:
dotnet pack
dotnet tool install --global --add-source ./nupkg PasswordGenCLI

Usage

Generate a password with default settings (14 characters):

pwgen

Specify password length:

pwgen -l 16
pwgen --length 20

Include special characters:

pwgen -u
pwgen --use-symbols

Custom special characters:

pwgen -s "#$%" -u
pwgen --symbols "@!%" --use-symbols

Show help:

pwgen --help

Uninstallation

dotnet tool uninstall -g PasswordGenCLI

Platform Support

  • Windows
  • macOS
  • Linux

License

MIT

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
2.1.2 144 4/25/2025
2.1.1 180 4/20/2025
2.1.0 187 4/20/2025
2.0.0 189 4/20/2025
1.0.0 155 10/25/2024