# btcli を Homebrew, Nix でインストール

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

## インストール

```sh
sudo av install brew:btcli
```

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

### macOS

- Homebrew (100%):

```sh
brew install btcli
```

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#btcli
```

  証拠: nixpkgs package indexes: btcli from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

## パッケージ情報

- **パッケージキー:** brew:btcli
- **パッケージマネージャ:** Homebrew
- **バージョン:** 9.23.2
- **ソース概要:** Bittensor command-line tool
- **ホームページ:** <https://docs.learnbittensor.org/btcli>
- **最終更新:** 2026-07-19T18:46:05+09:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- btcli (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

btcli is the command-line client for the Bittensor network. It packages wallet, subnet, staking, delegation, governance, and node-management workflows into a terminal tool distributed through PyPI, Homebrew, and source installs.

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

The standalone opentensor/btcli repository began with public commits in July 2024 and an MIT-licensed README for the Bittensor CLI. Its first listed tag in the local git history is v8.0.0 in September 2024.

The README frames btcli as a tool for common Bittensor operations: creating wallets, registering subnets or neurons, delegating TAO, viewing Senate proposals, and voting.

### 採用の歴史

btcli adoption follows Bittensor ecosystem adoption rather than classic Unix utility adoption. The official README documents installation from PyPI, Homebrew, and source, plus use with the broader bittensor SDK through the bittensor[cli] extra.

The Homebrew formula gives macOS users a package-manager path alongside Python packaging, which matters because the README recommends Homebrew-installed Python/OpenSSL on macOS.

### 使われ方

Users run btcli to manage Bittensor wallets, chain configuration, subnet and neuron registration, staking and delegation, and governance voting. The tool reads common defaults from ~/.bittensor/config.yml, stores wallet material under ~/.bittensor/wallets, and supports command-level help with --help.

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

btcli is interesting as a blockchain-network CLI crossing Python packaging and Homebrew. It is young compared with the other tools in this batch, but it shows how Web3 and AI-network projects ship operational CLIs into general-purpose package managers for developer onboarding.

### タイムライン

- 2024: Public git history for opentensor/btcli starts with README and Typer-related commits.
- 2024: v8.0.0 appears as an early standalone btcli tag.
- 2026: The repository history shows v9.23.1, indicating active release cadence.

### Related projects

- The README links btcli to the Bittensor SDK repository, the btwallet repository, and the Bittensor whitepaper.
- The bittensor[cli] Python extra is documented as a way to install btcli alongside the SDK.

### ソース

- Local git history from https://github.com/opentensor/btcli shows first commits in 2024, tag v8.0.0 in 2024, and tag v9.23.1 in 2026.
- Official README describes btcli as the Bittensor CLI and lists wallet, subnet, staking, delegation, Senate proposal, and voting operations: https://raw.githubusercontent.com/opentensor/btcli/main/README.md
- Official README documents PyPI, Homebrew, source, and SDK-extra installation paths: https://raw.githubusercontent.com/opentensor/btcli/main/README.md
- Package-manager adoption from source_facts.package-manager.


## セキュリティノート

btcli に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。



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


## Configuration files

- Unix: ~/.bittensor/config.yml, ~/.bittensor/btcli.yaml

## Credential files

- Unix: ~/.bittensor/wallets
## 他のパッケージマネージャ記録

- Nix - btcli: normalized package name match | nixpkgs package indexes: btcli from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix


## Combined YAML source

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


## ソース

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