Bitbucket Server and Data Center
The operational CLI for Bitbucket Server.
bb gives Bitbucket Server and Data Center teams a safer command line:
machine-readable output, dry-run planning, repository-aware ergonomics, and behavior validated against a real server.
Operational Safety
Plan server changes before you apply them
Dry-run planning and bulk review/apply workflows reduce the usual risk of shelling directly into enterprise Bitbucket instances.
Automation Contract
Stable output for CI, tooling, and agents
The CLI exposes a versioned bb.machine envelope so scripts, pipelines, and LLM agents are not parsing human prose.
Live-Tested
Validated against real Bitbucket behavior
Command workflows are validated against Bitbucket Data Center APIs, which keeps the docs and the binary grounded in real platform behavior.
Start here¶
Install
Installation and Quickstart
Download a release, verify checksums, install bb, authenticate with a PAT, and run the first useful commands.
Operate
Basic Usage
Learn the command discovery pattern, repository inference rules, dry-run behavior, and the JSON machine contract.
Reference
All Commands
Use the generated command tree as the exact public surface area for every command, argument, and flag.
Automate
Advanced Topics
Dive into repository discovery, dry-run semantics, bulk operations, and diagnostics for higher-trust automation.
What this docs site contains¶
Operator-facing guidance
Source-of-truth generated reference
Documentation model¶
- Command and ADR pages are generated from source-of-truth code and decision records.
- Bulk policy, plan, and apply schemas are generated from validated workflow models.
- The hand-written docs focus on usage patterns, safety contracts, and operator workflows around the CLI.