Install the CLI

Install @backfill-io/cli, point it at your workspace, ship.

The @backfill-io/cli package handles scaffolding, dev mode, and deploys. One install and you’re set.

Install

npm install -g @backfill-io/cli

Or with whatever package manager you prefer:

pnpm add -g @backfill-io/cli
yarn global add @backfill-io/cli

Verify:

backfill --version

Point it at your workspace

The CLI reads its server URL and API token from a .backfillrc file. It walks up the directory tree to find one — so a single file at the root of your integrations monorepo covers every project under it.

# .backfillrc — DO NOT commit
server = https://api.backfill.io
token  = bf_...

Precedence (highest wins):

  1. CLI flags: --server, --token
  2. Env vars: BACKFILL_SERVER, BACKFILL_TOKEN
  3. A .backfillrc in the project directory
  4. A .backfillrc in any parent directory

Verify auth:

backfill auth

If something’s off, the CLI exits non-zero and tells you exactly what.

What you can do with it

CommandWhat it does
backfill init <name>Scaffold a new extension project.
backfill buildValidate the manifest and every script. No deploy, no network.
backfill devWatch your files. Auto-deploys a draft on save.
backfill deployBuild, validate, upload, activate. --observe to dry-run against live traffic.
backfill versionsList deployed versions.
backfill rollback --to <id>Roll back to a prior version.
backfill logs [--follow]Stream extension logs.
backfill triggerManually fire a hook for testing.
backfill promoteTurn an --observe deployment into the live one.
backfill job list / run <name>Inspect or kick off a scheduled job by hand.
backfill authShow or verify the active credentials.

Next

Five-minute first ship → Quickstart.