Skip to main content
Skip to main content

b reference

b provides a comprehensive set of commands for managing binary dependencies and environment files in your projects. This reference covers all available commands, options, and usage patterns.

Core

b is built around a subcommand architecture that provides intuitive and powerful binary and env management capabilities.

Quick reference

Get started quickly with the most common commands:

b init                    # Initialize a new project
b install jq # Install a specific binary
b install --add jq@jq-1.6 # Install and add to b.yaml
b list # List installed binaries and envs
b update # Update all binaries and envs
b update --strategy=merge # Update with three-way merge
b search kubectl # Search for available binaries
b verify # Verify artifacts against b.lock
b cache clean # Remove cached git repos

# Env file sync (SCP-style)
b install github.com/org/infra:/manifests/** ./manifests
Was this section helpful?