Automic VaultAutomic Vault

brew

使用 Homebrew 安装 bittensor

查看 bittensor 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install bittensor

local Homebrew formula metadata

概览

软件包摘要

SDK and command-line tool for the Bittensor network

命令和别名

  • btcli
  • certifi.sh

历史

项目历史与用法

Bittensor is the Python SDK and command-line tooling used to read from, transact with, and build applications for the Bittensor network. The legacy 10.x package represented by this Homebrew formula combines the `bittensor` SDK with the separately distributed `bittensor-cli` and `bittensor-wallet` packages.

项目历史

The Bittensor SDK repository was created in 2020 and developed alongside the network's blockchain and subnet model. Bittensor's official academic history records the network's launch in November 2021. The SDK exposed Python APIs for Subtensor and installed `btcli` for wallet, subnet, staking, and chain operations.

In 2026, Bittensor 11 replaced the legacy 10.x SDK, separate 9.x CLI, and separate wallet package with one unified `bittensor` distribution. SDK, CLI, documentation, and chain development then moved into the `RaoFoundation/subtensor` monorepo, while the legacy SDK repository was archived in July 2026.

采用历史

The SDK became the standard official Python and shell interface for participants operating wallets, querying network state, staking, registering subnets, and writing subnet software. Its packaging evolved from a multi-distribution Python stack in v9/v10 to a single generated SDK-and-CLI package in v11.

使用方式

The legacy formula installs the Python SDK plus `btcli`. Users commonly select a network, configure a coldkey wallet and hotkey, inspect balances and subnets, and submit signed staking or registration operations. Configuration is stored by the legacy CLI at `~/.bittensor/config.yml`, while wallet keys live under `~/.bittensor/wallets/`.

Current upstream guidance installs `bittensor` with `uv` or pip, uses `btcli query` for reads and `btcli tx` for transactions, and recommends previewing mutations with `--dry-run`. Existing v10 wallet files remain compatible with v11, but scripts and CLI invocations require migration because the client API and command organization changed substantially.

为什么软件包爱好者会关心

Bittensor is notable as a package-management case study because an SDK, CLI, and cryptographic wallet moved from three interdependent Python distributions back into one package and monorepo. The official migration guide documents executable ownership conflicts during upgrades, Python-version resolution pitfalls, native Rust build requirements, and compatibility of existing on-disk keyfiles.

Its official wallet security guide also records a compromised PyPI release of legacy `bittensor` 6.12.2 in July 2024 and consequently recommends exact version pins and signed source tags for high-value systems. That incident makes provenance and upgrade discipline unusually important for this package.

时间线

  • 2020: The Bittensor SDK repository was created.
  • 2021: The Bittensor network officially launched in November.
  • 2024: A compromised PyPI release of legacy bittensor 6.12.2 triggered a network safe-mode response.
  • 2026: Bittensor 11 unified the SDK, CLI, and wallet packages in the Subtensor monorepo.
  • 2026: The legacy Bittensor SDK repository was archived in July.

Related projects

  • RaoFoundation/subtensor is the active Bittensor monorepo containing the chain, Python SDK, `btcli`, documentation, and website.
  • Legacy `bittensor-cli` supplied the v9 `btcli` executable bundled by the 10.x formula, and legacy `bittensor-wallet` supplied its keyfile implementation.

安全态势

尚未找到受保护工具覆盖

没有找到 bittensor 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 3 个运行时依赖。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

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

Config paths the tool may read or write during local use.

Unix
~/.bittensor/config.yml

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
~/.bittensor/wallets/<wallet-name>/coldkey~/.bittensor/wallets/<wallet-name>/hotkeys/<hotkey-name>

可执行文件

已安装的可执行文件

命令类型暴露范围备注
btclicli全局可执行文件
certifi.shcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本11.0.1
管理器更新时间2026-07-24
本地数据OK
上游not checked
检测到的最新版本未检测到

https://subtensor.vercel.app/

安装元数据

软件包元数据

软件包键brew:bittensor
版本11.0.1
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/bittensor
主页https://subtensor.vercel.app/
仓库https://github.com/RaoFoundation/bittensor
上游文档https://www.bittensor.com/docs
许可证Apache-2.0
源码归档https://files.pythonhosted.org/packages/b7/97/56d2f9f2a50f4a55d342707e56b281d5f2cc4634c8f18f9b147198e41d16/bittensor-11.0.1.tar.gz
最后更新2026-07-24T23:57:51Z
Pulseupdated
依赖openssl@3, pydantic, python@3.13
构建依赖rust
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namebittensor
Version Scheme0
Revision0
Conflicts With
  • btcli
  • btpd
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • package relationship graph
  • package version freshness
  • package-page enrichment