$ curl -sf https://gobinaries.com/geekdada/steam-otp | shGet the shared_secret first, using SteamDesktopAuthenticator.
Once you have the code, store it in your vault (1Password or similar thing).
Run the command and input the shared_secret.
$ steam-otpOr, using --secret to pass the secret (NOT SAFE).
$ steam-otp --secret [SHARED SECRET]Notice
- Your shared secret will never be stored by
zsh_historyorbash_history. - You should never save the shared secret in plain text.
- This method may violate the TOS of Steam, use at your discretion.