Skip to content

A password generator for the command line.

Notifications You must be signed in to change notification settings

cesarferradas/pwgen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

pwgen

A (pseudo) random password generator.

requirements

You need Node installed.

setup

Run the setup.sh script which adds an alias to your shell profile:

./setup.sh

usage

Default invocation:

$ pw # defaults to 20 characters
7TL6FpbqAWRRzBHamdb7

Specify password length with -l:

$ pw -l 10
h0vR8KLasY

Specify the number of passwords to generate with -n:

$ pw -n 4
S97Sef8frPsVeNtSMEYN
Ttj6odwE3LulSUnusivb
tylu49a5A4T1HOFYCrx9
wRtvlv6HHZHwyOgrmkhz

Choose the character set with --no-upper and --no-digits:

$ pw --no-upper
8shtvj9gx6jaroi4v7bm

$ pw --no-digits
kGrbjbMyANTErqpihnyh

$ pw --no-upper --no-digits
njowltinucpjjwuuontb

Releases

No releases published

Packages

No packages published