macOS
brew install b2-toolslocal Homebrew formula metadata
brew / 順位 1696
b2-tools のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install b2-toolslocal Homebrew formula metadata
sudo apk add b2-toolsAlpine Linux edge package indexes · b2-tools · ソース: dl-cdn.alpinelinux.org
scoop install main/b2Scoop official bucket manifest trees · bucket/b2.json · ソース: api.github.com
概要
B2 Cloud Storage Command-Line Tools
履歴
B2 Command Line Tool is Backblaze's official `b2` CLI for B2 Cloud Storage. It gives shell access to account, bucket, file, key, replication, listing, removal, and sync operations.
Backblaze maintains the tool in the Backblaze/B2_Command_Line_Tool repository and publishes it as a Python package, standalone binaries, Docker image, and Homebrew package. The README describes it as command-line access to all capabilities of the B2 service.
The CLI has evolved across API-versioned command surfaces. The README documents the current guidance: use `b2` for the latest stable interactive interface, and use version-bound commands such as `b2v4` for long-running scripts that need stable behavior.
B2 users adopted the CLI because object storage needs scriptable upload, download, sync, lifecycle, and key-management workflows. Backblaze's official docs recommend Homebrew as the quickest setup path for Mac users, while the input package facts also list apk and Scoop packages.
The tool is common in backup scripts and CI jobs because B2 is frequently used as low-cost object storage. Its versioned command aliases are especially package-nerdy: they let a package ship a newer implementation while preserving an older command contract for scripts.
Typical usage starts with account authorization, then commands such as `b2 bucket list`, `b2 file upload`, `b2 ls`, `b2 sync`, and `b2 key create`. The official README and Backblaze docs state that `B2_ACCOUNT_INFO` selects the SQLite cache file for authentication information and that the default is `~/.b2_account_info`.
For containers, the README shows either passing `B2_APPLICATION_KEY` and `B2_APPLICATION_KEY_ID` each run or persisting authorization state in a mounted volume.
For package nerds, `b2-tools` is a neat collision between package name, executable name, and API-versioned command names: Homebrew installs `b2-tools`, users run `b2`, and scripts may choose `b2v4` for compatibility.
It is also a Python CLI with official binary and Docker distribution, so packaging choices affect startup time, dependencies, credential cache placement, and whether users get the newest API surface or a stable alias.
セキュリティ状態
infrastructure mutation or orchestration signal.
リスク orange · 信頼度 中 · infrastructure
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
local files
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.
Credential-bearing paths to review before unattended agent runs.
~/.b2_account_info実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
b2 | 実行可能ファイル | インデックス済み実行可能ファイル | ローカル実行可能ファイルインデックスから検出されました。 |
b2v3 | 実行可能ファイル | インデックス済み実行可能ファイル | ローカル実行可能ファイルインデックスから検出されました。 |
b2v4 | 実行可能ファイル | インデックス済み実行可能ファイル | ローカル実行可能ファイルインデックスから検出されました。 |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
インストールメタデータ
| パッケージキー | brew:b2-tools |
|---|---|
| バージョン | 4.7.1 |
| パッケージマネージャ | Homebrew |
| ホームページ | https://github.com/Backblaze/B2_Command_Line_Tool |
| 最終更新 | 2026-06-09T19:24:01Z |
| Pulse | updated |
| Bottle | 未記録 |
| サービス | 宣言なし |
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
b2-tools 4.6.0-r1
Command-line tool for Backblaze B2
https://github.com/Backblaze/B2_Command_Line_Tool
sudo apk add b2-toolsb2-tools-pyc 4.6.0-r1
Precompiled Python bytecode for b2-tools
https://github.com/Backblaze/B2_Command_Line_Tool
sudo apk add b2-tools-pycmain/b2
scoop install main/b2ソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.