pkg.soopen package index

brew / 排名 1700

使用 Homebrew, apk, scoop 安装 b2-tools

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install b2-tools

local Homebrew formula metadata

Windows

Scoop已验证 · 92%
scoop install main/b2

Scoop official bucket manifest trees · bucket/b2.json · 来源: api.github.com

概览

软件包摘要

B2 Cloud Storage Command-Line Tools

命令和别名

  • b2
  • b2v3
  • b2v4

历史

项目历史与用法

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.

时间线

  • 2020: Backblaze/B2_Command_Line_Tool GitHub Releases include the 2.x release line.
  • 2020s: The README documents Homebrew, PyPI, standalone binaries, Docker, and source installs.
  • 2020s: Version-bound commands such as `b2v3` and `b2v4` become part of the CLI compatibility model.

Related projects

  • Backblaze B2 Cloud Storage is the object-storage service managed by the CLI.
  • The B2 Native API and S3-compatible API are related service interfaces.
  • Backblaze's Docker image packages the same CLI for container workflows.

来源

  • Backblaze official cloud storage command-line tools docs
  • Backblaze/B2_Command_Line_Tool README and releases
  • source_facts.package-manager

安全态势

风险级别:orange

infrastructure mutation or orchestration signal.

风险分类器

orange 风险 · 中 置信度 · infrastructure

原因

  • infrastructure mutation or orchestration signal

信号

  • text:cloud

安装行为

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

建议审查

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

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.

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
~/.b2_account_info

可执行文件

已安装的可执行文件

命令类型暴露范围备注
b2cli全局可执行文件
b2v3cli全局可执行文件
b2v4cli全局可执行文件

新鲜度

版本和新鲜度

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

页面生成时间2026-08-04
管理器版本4.7.1
管理器更新时间2026-06-09
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/Backblaze/B2_Command_Line_Tool

安装元数据

软件包元数据

软件包键brew:b2-tools
版本4.7.1
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/b2-tools
主页https://github.com/Backblaze/B2_Command_Line_Tool
仓库https://github.com/Backblaze/B2_Command_Line_Tool
许可证MIT
源码归档https://files.pythonhosted.org/packages/c9/81/d53f7f6826032f4a0e2e360de105d62b0be0a1a2ec6b69b7f7329caf7b0e/b2-4.7.1.tar.gz
最后更新2026-06-09T19:24:01Z
Pulseupdated
依赖certifi, python@3.14
Bottle可用 (于 all)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameb2-tools
Version Scheme0
Revision0
Conflicts With
  • boost-build
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

apk95%

b2-tools 4.6.0-r1

Command-line tool for Backblaze B2

https://github.com/Backblaze/B2_Command_Line_Tool

sudo apk add b2-tools
  • License: MIT
  • Architecture: x86_64
  • Source Package: b2-tools
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:B2 Tools
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: b2-tools from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

b2-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-pyc
  • License: MIT
  • Architecture: x86_64
  • Source Package: b2-tools
  • 1 依赖
  • normalized package name match
  • 匹配方式:B2 Tools
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: b2-tools-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
Scoop92%

main/b2

scoop install main/b2
  • installed executable or alias match
  • 匹配方式:B2
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/b2.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

来源线索

由仓库数据生成

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

使用的来源

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