gauth
« Back to VersTracker
Description:
Google Authenticator in your terminal
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Security
Tags: security totp 2fa authentication cli
Install: brew install gauth
About:
Gauth is a command-line utility that generates two-factor authentication (2FA) codes for services supporting the TOTP standard. It securely stores your shared secrets and produces time-based codes on demand, eliminating the need for a mobile device. This tool brings the functionality of Google Authenticator and similar apps directly to your terminal.
Key Features:
  • Generates TOTP codes from the command line
  • Securely stores secrets in an encrypted file
  • Simple, lightweight, and dependency-free
  • Cross-platform support via Homebrew
Use Cases:
  • Accessing 2FA-protected accounts on a headless server or VM
  • Generating authentication codes without a smartphone
  • Automating CLI workflows that require 2FA verification
Alternatives:
  • pass-otp – Integrates with the standard Unix pass password manager, while Gauth uses its own encrypted storage.
  • oathtool – A more general-purpose OATH toolkit, whereas Gauth is focused specifically on a user-friendly TOTP experience.
Version History
Detected Version Rev Change Commit
Sep 11, 2025 2:10pm 0 VERSION_BUMP 827d89f4