Search docs

Jump to a BRB documentation page

Reference

CLI reference

Exact commands, parameters, and defaults for the published brbgit package and the brb command.

Reference
https://docs.brbgit.com/cli-reference

Install

bash
npm install -g brbgit
Package vs command

The npm package is brbgit. The installed command is brb. The legacy git-agent command remains available as a compatibility alias.

Commands

bash
brb login [--email <email>] [--password <password>] [--name <name>] [--register] [--base-url <url>]
brb whoami [--base-url <url>]
brb logout [--base-url <url>]
brb init [--repo <name>] [--source <path>] [--base-url <url>]
brb sync [--source <path>] [--message <message>] [--ensure-daemon] [--base-url <url>]
brb watch [--source <path>] [--quiet-window-ms <ms>] [--max-batch-window-ms <ms>] [--min-resync-gap-ms <ms>] [--base-url <url>]
brb daemon run [--base-url <url>] [--quiet-window-ms <ms>] [--max-batch-window-ms <ms>] [--min-resync-gap-ms <ms>]
brb daemon install [--base-url <url>] [--quiet-window-ms <ms>] [--max-batch-window-ms <ms>] [--min-resync-gap-ms <ms>]
brb daemon uninstall
brb repo create --name <name> [--import-url <https-url>] [--import-branch <branch>] [--import-depth <n>] [--base-url <url>]
brb push --repo <name> [--source <path>] [--message <message>] [--base-url <url>]
Command guides

Use the dedicated brb init, brb sync, brb watch, and brb daemon pages for examples, defaults, and operational guidance.

Ownership model

One owner per repo

BRB currently supports private repos with a single authenticated owner. Sharing and team access are not part of the product yet.

Environment variables

ParameterDescriptionDefault
BRB_BASE_URLDefault BRB service URL.
GIT_AGENT_BASE_URLLegacy fallback environment variable for older setups.