This flow is used to generate passcode on command-line in two-step verification. OSX Install brew Install oath brew install oath-toolkit Get secret key from provider Get code oathtool --totp -b <secret_key> | tr -d '\n' | pbcopy Done!