Tinybird CLI Guidelines
Guidance for using the Tinybird CLI (tb) for local development, deployments, data operations, and workspace management.
When to Apply
- Running any
tbcommand - Choosing a development workflow (local, branch, or cloud)
- Local development with Tinybird Local
- Branch development with Tinybird Cloud branches
- Building and deploying projects
- Setting up CI/CD pipelines
- Appending, replacing, or deleting data
- Managing tokens and secrets via CLI
- Generating mock data
- Running tests
Rule Files
rules/development-workflows.mdrules/cli-commands.mdrules/build-deploy.mdrules/local-development.mdrules/branch-development.mdrules/ci-cd.mdrules/data-operations.mdrules/append-data.mdrules/mock-data.mdrules/tokens.mdrules/secrets.md
Quick Reference
- CLI 4.0 workflow: configure
dev_modeonce, then use plaintb buildandtb deploy. tb buildtargets your configured development environment (branchorlocal) in tinybird.config.json.tb deploytargets Tinybird Cloud production.- Use
--cloud/--local/--branchonly as explicit manual overrides. - Use
tb infoto check CLI context. - Use
tb endpoint data <pipe>to test endpoints (nottb pipe data). - Never invent commands or flags; run
tb <command> --helpto verify.

