# Install solo2-cli with Homebrew, Nix

CLI to update and use Solo 2 security keys. Version 0.2.2 via Homebrew; verified from local package data.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install solo2-cli
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

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

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

## Package facts

- **Package key:** brew:solo2-cli
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/solo2-cli>
- **Version:** 0.2.2
- **Source summary:** CLI to update and use Solo 2 security keys
- **Homepage:** <https://solokeys.com/>
- **Repository:** <https://github.com/solokeys/solo2-cli>
- **Upstream docs:** <https://docs.rs/solo2/latest/solo2>
- **License:** Apache-2.0 OR MIT
- **Source archive:** <https://github.com/solokeys/solo2-cli/archive/refs/tags/v0.2.2.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- solo2 (cli)
- solo2 (alias)

## Build dependencies

- pkgconf
- rust

## Install behavior

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

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.2.2
- Local data: ok
- Upstream repository: https://github.com/solokeys/solo2-cli
- Upstream latest detected: v0.2.2 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

solo2-cli is the Rust command-line utility and library package for SoloKeys Solo 2 security keys, aimed at firmware updates, device-mode management, and developer-oriented administration.

### Project history

The official README describes the package as a Solo 2 library and CLI, while noting that the CLI is now maintained in the broader Solo 2 monorepo. The Cargo metadata names the published crate `solo2`, with a `solo2` binary and documentation on docs.rs.

The README reflects the hardware-oriented nature of the project: Solo 2 devices have regular and maintenance modes, Linux maintenance mode needs udev rules, and the CLI can switch between modes with commands such as `solo2 app admin maintenance` and `solo2 bootloader reboot`.

### Adoption history

The official SoloKeys guide positions solo2-cli as the technical-user and developer tool for managing Solo 2, while basic FIDO2 use does not require software installation. The supplied package-manager facts list Homebrew and Nix packages, which matters for users who want a packaged CLI instead of a direct Cargo install.

### How it is used

The README documents `cargo install solo2`, optional experimental `dev-pki` support, verbose logging flags, device UUID reads, switching to maintenance mode, and bootloader reboot. The SoloKeys guide says the CLI can manage passkeys, update firmware, set PINs, and configure PIV and OpenPGP settings.

### Why package nerds care

solo2-cli is interesting because it packages hardware lifecycle operations as a normal developer CLI. It touches USB identifiers, PCSC/CTAP access, udev rules, firmware update flows, Rust crates, and security-key administration in one small executable.

### Timeline

- 2021: The README notes Solo 2 support in the CCID driver from release 1.4.35 on July 25, 2021.
- 2022: Official git tags include the 0.2.x line.
- 2026: The SoloKeys guide presents solo2-cli as the command-line management option for Solo 2.

### Related projects

- The README points to the Solo 2 monorepo as the current maintenance home. It also references lpc55-host, PCSC/CTAP interfaces, CCID driver support, and udev rules.

### Sources

- Input package-manager facts: source_facts.package-manager
- Official Cargo metadata: https://github.com/solokeys/solo2-cli/blob/main/Cargo.toml
- Official README: https://github.com/solokeys/solo2-cli#readme
- Official Solo 2 guide: https://solokeys.com/pages/solo-2-guide
- docs.rs documentation: https://docs.rs/solo2/latest/solo2


## Security Notes

narrow executable package without higher-risk signals.

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

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** solo2-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 - solo2-cli: normalized package name match | nixpkgs package indexes: pkgs/by-name/so/solo2-cli/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://www.automicvault.com/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter 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.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [rust](https://www.automicvault.com/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [libfido2](https://www.automicvault.com/pkg/brew/libfido2/) - Shares av.db curated category or tags: authentication, cli, fido2, hardware-security, security.
- [pam-u2f](https://www.automicvault.com/pkg/brew/pam-u2f/) - Shares av.db curated category or tags: authentication, cli, fido2, security.
- [cotp](https://www.automicvault.com/pkg/brew/cotp/) - Shares av.db curated category or tags: authentication, cli, security.
- [cyrus-sasl](https://www.automicvault.com/pkg/brew/cyrus-sasl/) - Shares av.db curated category or tags: authentication, cli, security.
- [duo_unix](https://www.automicvault.com/pkg/brew/duo-unix/) - 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.
- [google-authenticator-libpam](https://www.automicvault.com/pkg/brew/google-authenticator-libpam/) - Shares av.db curated category or tags: authentication, cli, security.
- [gotpm](https://www.automicvault.com/pkg/brew/gotpm/) - Shares av.db curated category or tags: cli, hardware-security, security.
- [onlykey-agent](https://www.automicvault.com/pkg/brew/onlykey-agent/) - Security-sensitive metadata or terminology overlaps. Shared terms: authentication, cli, hardware, key, keys.

## Combined YAML source

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


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- 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
