Automic VaultAutomic Vault

brew

Install totp-cli with Homebrew, MacPorts, Nix, winget

Authy/Google Authenticator like TOTP CLI tool written in Go. Version 1.9.2 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install totp-cli

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install totp-cli

MacPorts ports tree · security/totp-cli/Portfile · source: api.github.com

Linux

Nixverified · 92%
nix profile install nixpkgs#totp-cli

nixpkgs package indexes · pkgs/by-name/to/totp-cli/package.nix · source: api.github.com

Windows

Windows Package Managerverified · 92%
winget install --id yitsushi.totp-cli -e

Windows Package Manager source index · yitsushi.totp-cli · source: cdn.winget.microsoft.com

overview

Package summary

Authy/Google Authenticator like TOTP CLI tool written in Go

Commands and aliases

  • totp-cli

history

Project history and usage

totp-cli is a small Go command-line authenticator for managing and generating time-based one-time passwords. Its project documentation frames it as an Authy or Google Authenticator style tool for the terminal, with encrypted local storage protected by a user password.

Project history

The public release line on GitHub dates back to version 1.0.0 in September 2016. Later documentation records a storage-format migration in version 1.2.8, where stored credentials were upgraded to a more secure format the next time totp-cli wrote to storage.

Adoption history

The project is packaged beyond its Go install path: the official README documents installation through winget, MacPorts, and Homebrew, while the Homebrew source facts also list MacPorts, Nix, and winget package identifiers. That puts it in the package-manager niche of small security utilities installed directly onto developer workstations.

How it is used

Typical use is local and interactive: users add tokens under namespaces, generate codes by namespace and account, list stored accounts, import YAML dumps, and optionally run an instant mode from an environment variable or stdin without using the storage backend.

Why package nerds care

For package nerds, totp-cli is notable less as infrastructure and more as a classic single-purpose terminal security tool: one binary, shell completions, signed release checksums, and package-manager availability for people who prefer authentication workflows inside the shell.

Timeline

  • 2016: Version 1.0.0 published on GitHub Releases.
  • v1.2.8: Documentation notes a more secure storage format and automatic credential-store upgrade.
  • 2025: GitHub Releases list v1.9.2 as a later release in the 1.x line.

Related projects

  • The README explicitly positions totp-cli against Authy and Google Authenticator as a command-line equivalent for TOTP workflows.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 8 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
${HOME}/.config/totp-cli/credentials

executables

Installed executables

CommandKindExposureNote
totp-clicliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-07
manager version1.9.2
manager updated
local dataok
upstreamcurrent
latest detectedv1.9.2

https://github.com/yitsushi/totp-cli

  • infoNo package-manager update timestamp was available.low confidence

install metadata

Package metadata

Package keybrew:totp-cli
Version1.9.2
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/totp-cli
Homepagehttps://yitsushi.github.io/totp-cli/
Repositoryhttps://github.com/yitsushi/totp-cli
Upstream docshttps://github.com/yitsushi/totp-cli#readme
LicenseMIT
Source archivehttps://github.com/yitsushi/totp-cli/archive/refs/tags/v1.9.2.tar.gz
Build dependenciesgo
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nametotp-cli
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

totp-cli

nix profile install nixpkgs#totp-cli
  • normalized package name match
  • Matched by: Totp Cli
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/to/totp-cli/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
MacPorts95%

totp-cli

sudo port install totp-cli
  • normalized package name match
  • Matched by: Totp Cli
MacPorts ports tree · api.github.com · MacPorts ports tree: security/totp-cli/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
winget95%

yitsushi.totp-cli

winget install --id yitsushi.totp-cli -e
  • normalized package name match
  • Matched by: Totp Cli
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: yitsushi.totp-cli from https://cdn.winget.microsoft.com/cache/source.msix

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment