# solo2-cli を Homebrew, Nix でインストール

solo2-cli のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

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

追加のインストールコマンド:

### macOS

- Homebrew (100%):

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

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

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

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

## パッケージ情報

- **パッケージキー:** brew:solo2-cli
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.2.2
- **ソース概要:** CLI to update and use Solo 2 security keys
- **ホームページ:** <https://solokeys.com/>
- **リポジトリ:** <https://github.com/solokeys/solo2-cli>
- **最終更新:** 2026-07-24T10:42:48Z
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- solo2 (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 0.2.2
## プロジェクトの歴史と使われ方

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.

### プロジェクトの歴史

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

### 採用の歴史

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.

### 使われ方

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.

### パッケージ好きにとっての重要性

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.

### タイムライン

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

### ソース

- 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


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## 他のパッケージマネージャ記録

- 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


## Combined YAML source

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


## ソース

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
