Fast and Easy 20 Character CLI Password Generator
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
media Added tests, .travis.yml and Windows screenshot Jan 17, 2016
tests Debugging Travis tests Jan 17, 2016
.gitignore Initial commit Dec 23, 2015
.travis.yml Removed io.js from .tavis.yml Jan 17, 2016
LICENSE Debugging Travis tests Jan 17, 2016
index.js adding #! to index.js Jan 6, 2016

g20 v1.0.5

g20 (Generate a 20 Character Password) is the fastest and easiest cross-platform CLI password generator on the planet. For years I have been using something similar to it but it only works on OS X. Feel free to submit an issue if you're stuck.


npm install -g g20


$ g20

WgVxD9LXdRyfv8t3D_V has been copied to your clipboard.

Platform Support

OS X Linux¹ Win²

¹ For Linux make sure xclip is installed e.g. sudo apt-get install xclip

² Tested on Windows 10


Can I generate a password longer than 20 characters?


Can I generate a password shorter than 20 characters?


Can I customize the background color to my liking?


Bottom line: all customizations require a fork. And if you want, I will link to your fork in this


Unix Like Windows

Dependency Packages