# Installer solo2-cli avec Homebrew, Nix

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de solo2-cli pour les workflows d'agents IA.

## installation

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

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

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

  Preuve: local Homebrew formula metadata

### Linux

- Nix (92%):

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

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

## Faits du paquet

- **Clé du paquet:** brew:solo2-cli
- **Gestionnaire de paquets:** Homebrew
- **Page du gestionnaire de paquets:** <https://formulae.brew.sh/formula/solo2-cli>
- **Version:** 0.2.2
- **Résumé source:** CLI to update and use Solo 2 security keys
- **Page d'accueil:** <https://solokeys.com/>
- **Dépôt:** <https://github.com/solokeys/solo2-cli>
- **Docs amont:** <https://docs.rs/solo2/latest/solo2>
- **Licence:** Apache-2.0 OR MIT
- **Archive source:** <https://github.com/solokeys/solo2-cli/archive/refs/tags/v0.2.2.tar.gz>
- **Généré:** 2026-07-08T07:18:31+00:00

## exécutables

- solo2 (cli)
- solo2 (alias)

## Dépendances de compilation

- pkgconf
- rust

## Comportement d'installation

- hook post-installation: non défini
- Bouteille: disponible sur arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux

## Version et fraîcheur

- page générée: 2026-07-08
- version du gestionnaire: 0.2.2
- données locales: OK
- dépôt amont: https://github.com/solokeys/solo2-cli
- dernière version détectée: v0.2.2 (à jour)
- info: No package-manager update timestamp was available.
## Historique du projet et usages

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.

### Historique du projet

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`.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

- 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


## Notes de sécurité

narrow executable package without higher-risk signals.

- **Risque Geiger:** vert / faible
- narrow executable package without higher-risk signals

## Détails de la base source

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

## Autres enregistrements de gestionnaires de paquets

- 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


## Liens liés

- [Terminal utility packages](https://www.automicvault.com/fr/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://www.automicvault.com/fr/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://www.automicvault.com/fr/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Security and crypto packages](https://www.automicvault.com/fr/pkg/security-crypto-tools/) - Matched security, identity, cryptography, password, signing, or certificate metadata.
- [pkgconf](https://www.automicvault.com/fr/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [rust](https://www.automicvault.com/fr/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [libfido2](https://www.automicvault.com/fr/pkg/brew/libfido2/) - Shares av.db curated category or tags: authentication, cli, fido2, hardware-security, security.
- [pam-u2f](https://www.automicvault.com/fr/pkg/brew/pam-u2f/) - Shares av.db curated category or tags: authentication, cli, fido2, security.
- [cotp](https://www.automicvault.com/fr/pkg/brew/cotp/) - Shares av.db curated category or tags: authentication, cli, security.
- [cyrus-sasl](https://www.automicvault.com/fr/pkg/brew/cyrus-sasl/) - Shares av.db curated category or tags: authentication, cli, security.
- [duo_unix](https://www.automicvault.com/fr/pkg/brew/duo-unix/) - Shares av.db curated category or tags: authentication, cli, security.
- [gauth](https://www.automicvault.com/fr/pkg/brew/gauth/) - Shares av.db curated category or tags: authentication, cli, security.
- [google-authenticator-libpam](https://www.automicvault.com/fr/pkg/brew/google-authenticator-libpam/) - Shares av.db curated category or tags: authentication, cli, security.
- [gotpm](https://www.automicvault.com/fr/pkg/brew/gotpm/) - Shares av.db curated category or tags: cli, hardware-security, security.
- [onlykey-agent](https://www.automicvault.com/fr/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
