# Install btcli with Homebrew

Bittensor command-line tool. Version 9.23.1 via Homebrew; verified 2026-07-05.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install btcli
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:btcli
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/btcli>
- **Version:** 9.23.1
- **Source summary:** Bittensor command-line tool
- **Homepage:** <https://docs.learnbittensor.org/btcli>
- **Repository:** <https://github.com/opentensor/btcli>
- **Upstream docs:** <https://docs.bittensor.com/btcli>
- **License:** MIT
- **Source archive:** <https://files.pythonhosted.org/packages/25/03/067a11e27faceef0f236a76e554fbeeee21d5d8fdc92523649c6684203d5/bittensor_cli-9.23.1.tar.gz>
- **Last updated:** 2026-07-05T00:14:30+09:00
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- btcli (cli)
- btcli (alias)

## Dependencies

- certifi
- libyaml
- numpy
- openssl@3
- python@3.14

## 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: 9.23.1
- Package-manager updated: 2026-07-05
- Local data: ok
- Upstream repository: https://docs.learnbittensor.org/btcli
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

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

### Sources

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


## Security Notes

No matching local secret-handling manifest was found for btcli. Nucleus package metadata is still published here so future coverage has a stable package URL.



## 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
## Source Database Details

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


## Related links

- [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.
- [Documentation packages](https://www.automicvault.com/pkg/documentation-tools/) - Matched documentation, manual, or publishing metadata.
- [Homebrew utility packages](https://www.automicvault.com/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [numpy](https://www.automicvault.com/pkg/brew/numpy/) - Runtime dependency declared by Homebrew.
- [openssl@3](https://www.automicvault.com/pkg/brew/openssl-3/) - Runtime dependency declared by Homebrew.
- [python@3.14](https://www.automicvault.com/pkg/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [rust](https://www.automicvault.com/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [oasis](https://www.automicvault.com/pkg/brew/oasis/) - Shares av.db curated category or tags: blockchain, cli, networking, wallet.
- [hsd](https://www.automicvault.com/pkg/brew/hsd/) - Shares av.db curated category or tags: blockchain, cli, networking.
- [lighthouse](https://www.automicvault.com/pkg/brew/lighthouse/) - Shares av.db curated category or tags: blockchain, cli, networking.
- [ord](https://www.automicvault.com/pkg/brew/ord/) - Shares av.db curated category or tags: blockchain, cli, networking, wallet.
- [stellar-core](https://www.automicvault.com/pkg/brew/stellar-core/) - Shares av.db curated category or tags: blockchain, cli, networking.
- [teku](https://www.automicvault.com/pkg/brew/teku/) - Shares av.db curated category or tags: blockchain, cli, networking.
- [bitcoin](https://www.automicvault.com/pkg/brew/bitcoin/) - Shares av.db curated category or tags: blockchain, cli, networking, wallet.
- [floresta](https://www.automicvault.com/pkg/brew/floresta/) - Shares av.db curated category or tags: blockchain, cli, networking.
- [apprise](https://www.automicvault.com/pkg/brew/apprise/) - Both packages touch the same language runtime or ecosystem. Shared terms: certifi, cli, command-line, libyaml, line.
- [checkdmarc](https://www.automicvault.com/pkg/brew/checkdmarc/) - Both packages touch the same language runtime or ecosystem. Shared terms: certifi, cli, command-line, line, networking.

## Combined YAML source

View the package source record on GitHub. [combined/btcli.yml](https://github.com/automic-vault/db/blob/main/combined/btcli.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
- cross-ecosystem install command graph
