How to Generate a Strong Random Password in the Terminal
· 6 min read
The passwords people make up are easy to guess. The ones a computer picks at random aren't. One command in your terminal generates a long, cryptographically random password made only of letters and digits, which is safe to paste into connection strings, .env files and YAML. This guide shows it for macOS, Linux and Windows.
