Use Mac OSX Password Generator from Terminal

I really like the password generator, built into Apple’s keychain and System preferences. Passwords are secure and memorable. Only problem is that accessing it takes many steps. Running it from the command line would be much faster.

Now there seems to be a reverse-engineered library for this. It’s even linked into Homebrew. To install it just run:

Then you can generate passwords like this: