# Install steamguard-cli with Homebrew, apk, Nix, scoop

CLI for steamguard. Version 0.18.1 via Homebrew; verified 2026-06-04.

## Install

```sh
sudo av install brew:steamguard-cli
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install steamguard-cli
```

  Evidence: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add steamguard-cli
```

  Evidence: Alpine Linux edge package indexes: steamguard-cli from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#steamguard-cli
```

  Evidence: nixpkgs package indexes: pkgs/by-name/st/steamguard-cli/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

### Windows

- Scoop (92%):

```sh
scoop install extras/steamguard-cli
```

  Evidence: Scoop official bucket manifest trees: bucket/steamguard-cli.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:steamguard-cli
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/steamguard-cli>
- **Version:** 0.18.1
- **Source summary:** CLI for steamguard
- **Homepage:** <https://github.com/dyc3/steamguard-cli>
- **Repository:** <https://github.com/dyc3/steamguard-cli>
- **Upstream docs:** <https://github.com/dyc3/steamguard-cli#readme>
- **License:** GPL-3.0-or-later
- **Source archive:** <https://github.com/dyc3/steamguard-cli/archive/refs/tags/v0.18.1.tar.gz>
- **Last updated:** 2026-06-04T23:55:43Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- steamguard (cli)
- steamguard (alias)

## Build dependencies

- rust

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.18.1
- Package-manager updated: 2026-06-04
- Local data: ok
- Upstream repository: https://github.com/dyc3/steamguard-cli
- Upstream latest detected: v0.18.1 (current)
## Project history and usage

steamguard-cli is a command-line utility for Steam Mobile Authenticator codes and Steam mobile confirmations. It is a security-adjacent CLI for users who want Steam two-factor authentication workflows outside the official mobile app.

### Project history

The upstream repository was created in August 2016, and the first GitHub release was labeled as the first working release in the same month. The README describes the tool as a command-line utility for setting up and using Steam Mobile Authenticator, generating 2FA codes, responding to confirmations, and managing encrypted local storage for 2FA secrets.

The project has remained a specialized utility rather than a broad platform. Its README warns users to back up `maFiles` and recovery codes, and states that legitimate binaries should come from the repository releases or package managers linked by the project.

### Adoption history

The input package metadata lists steamguard-cli in Homebrew, Alpine, Nix, and Scoop. The official README also documents installation through Cargo, AUR packages, and release binaries, which gives it a distribution pattern across Rust, Linux, macOS, and Windows package channels.

Adoption is tied to Steam power users and automation scenarios rather than general-purpose development. The README's `Used By` section mentions a sample Unreal Engine to Steam publishing CI/CD pipeline, illustrating its role in automation around Steam publishing.

### How it is used

Common usage is to run `steamguard` in a terminal to generate Steam Guard codes, manage confirmations, or import existing Steam Desktop Authenticator `maFiles`. The documented credential data lives under `maFiles` directories on Linux and Windows, and the quickstart explains how to import existing Steam Desktop Authenticator files.

### Why package nerds care

Package nerds care about steamguard-cli because it packages an otherwise mobile-app-centered authentication workflow as a scriptable terminal tool. That makes it useful in headless, automation, and CI contexts where Steam confirmation workflows would otherwise be awkward.

It is also a reminder that package managers often distribute sensitive utilities where provenance matters: the upstream README explicitly narrows legitimate binary sources to official releases and linked package managers.

### Timeline

- 2016: Upstream GitHub repository created.
- 2016: v0.1.0.0 first working release published.
- 2017: v0.3.x releases published.
- 2025: v0.17.x releases published.
- 2026: v0.18.1 release published.

### Related projects

- The README documents compatibility with Steam Desktop Authenticator `maFiles` and links to Steam Desktop Authenticator as the source for imported authenticator files.

### Sources

- <https://github.com/dyc3/steamguard-cli>
- <https://raw.githubusercontent.com/dyc3/steamguard-cli/master/README.md>
- <https://raw.githubusercontent.com/dyc3/steamguard-cli/master/docs/quickstart.md>
- input.source_facts.package-manager


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals


## 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

- Linux: ~/.config/steamguard-cli/maFiles/, ~/maFiles/
- Windows: %APPDATA%\steamguard-cli\maFiles\, %USERPROFILE%\maFiles\
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** steamguard-cli
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- Nix - steamguard-cli: normalized package name match | nixpkgs package indexes: pkgs/by-name/st/steamguard-cli/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - steamguard-cli - 0.17.1-r0: normalized package name match | Alpine Linux edge package indexes: steamguard-cli from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Command line utility for setting up and using Steam Mobile Authenticator | https://github.com/dyc3/steamguard-cli
- apk - steamguard-cli-bash-completion - 0.17.1-r0: normalized package name match | Alpine Linux edge package indexes: steamguard-cli-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Bash completions for steamguard-cli | https://github.com/dyc3/steamguard-cli
- apk - steamguard-cli-zsh-completion - 0.17.1-r0: normalized package name match | Alpine Linux edge package indexes: steamguard-cli-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Zsh completions for steamguard-cli | https://github.com/dyc3/steamguard-cli
- Scoop - extras/steamguard-cli: normalized package name match | Scoop official bucket manifest trees: bucket/steamguard-cli.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Security and crypto packages](https://www.automicvault.com/pkg/security-crypto-tools/) - Matched security, identity, cryptography, password, signing, or certificate metadata.
- [rust](https://www.automicvault.com/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [rsc_2fa](https://www.automicvault.com/pkg/brew/rsc-2fa/) - Shares av.db curated category or tags: authentication, cli, security, totp, two-factor.
- [totp-cli](https://www.automicvault.com/pkg/brew/totp-cli/) - Shares av.db curated category or tags: 2fa, authentication, cli, security, totp.
- [google-authenticator-libpam](https://www.automicvault.com/pkg/brew/google-authenticator-libpam/) - Shares av.db curated category or tags: authentication, cli, security, totp.
- [oath-toolkit](https://www.automicvault.com/pkg/brew/oath-toolkit/) - Shares av.db curated category or tags: authentication, cli, security, totp.
- [cotp](https://www.automicvault.com/pkg/brew/cotp/) - Shares av.db curated category or tags: authentication, cli, security, totp.
- [cyrus-sasl](https://www.automicvault.com/pkg/brew/cyrus-sasl/) - Shares av.db curated category or tags: authentication, cli, security.
- [gauth](https://www.automicvault.com/pkg/brew/gauth/) - Shares av.db curated category or tags: authentication, cli, security, totp.
- [heimdal](https://www.automicvault.com/pkg/brew/heimdal/) - Shares av.db curated category or tags: authentication, cli, security.

## Combined YAML source

View the package source record on GitHub. [combined/steamguard-cli.yml](https://github.com/automic-vault/db/blob/main/combined/steamguard-cli.yml)


## Sources

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