Generate TOTP token (behaves like Google Authenticator)

oathtool

oathtool --totp --base32 "{{secret}}"

click the source code to copy install oathtool on any operating system with command-not-found.com