On Linux you can use pwgen
curl -s 'https://pwgen.io/api/' | yq '.data.passes[0]'
The entire premise of this sub thread is “don’t use something that’s online to generate passwords”
FWIW, I assumed they were joking