gauth

Google Authenticator TOTP token generator for the terminal

brewmacoslinux
Try with needOr install directly
Source

About

Google Authenticator in your terminal

Commands

gauth

Examples

Add a new account with a secret key$ gauth add -name 'GitHub' 'JBSWY3DPEBLW64TMMQ===='
List all configured accounts and their current TOTP codes$ gauth
Get the TOTP code for a specific account$ gauth -qr GitHub