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 - Local development with Tinybird Local
- Building and deploying projects
- Appending, replacing, or deleting data
- Managing tokens and secrets via CLI
- Generating mock data
- Running tests
Rule Files
rules/cli-commands.mdrules/build-deploy.mdrules/local-development.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.jsontb deploytargets Tinybird Cloud production.- Use
--cloud/--local/--branchonly as explicit manual overrides. - Use
tb infoto check CLI context. - Never invent commands or flags; run
tb <command> --helpto verify.