pkg.soopen package index

brew / rank 1696

Install b2-tools with Homebrew, apk, scoop

B2 Cloud Storage Command-Line Tools. Version 4.7.1 via Homebrew; verified 2026-06-09. Also installable with apk: sudo apk add b2-tools.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install b2-tools

local Homebrew formula metadata

Windows

Scoopverified · 92%
scoop install main/b2

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

overview

Package summary

B2 Cloud Storage Command-Line Tools

Commands and aliases

  • b2
  • b2v3
  • b2v4

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

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

Sources

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

security posture

Risk level: orange

infrastructure mutation or orchestration signal.

Risk classifier

orange risk · medium confidence · infrastructure

Why

  • infrastructure mutation or orchestration signal

Signals

  • text:cloud

Install behavior

  • No Homebrew bottle metadata was recorded.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

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

executables

Installed executables

CommandKindExposureNote
b2executableindexed executableDiscovered from the local executable index.
b2v3executableindexed executableDiscovered from the local executable index.
b2v4executableindexed executableDiscovered from the local executable index.

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-08-03
manager version4.7.1
manager updated2026-06-09
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:b2-tools
Version4.7.1
Package managerHomebrew
Homepagehttps://github.com/Backblaze/B2_Command_Line_Tool
Last updated2026-06-09T19:24:01Z
Pulseupdated
Bottlenot recorded
Servicenone declared

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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
  • Matched by: 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

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

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