1.3 KiB
1.3 KiB
Tinybird Local Development
Overview
- Tinybird Local runs as a Docker container managed by the Tinybird CLI.
- Local is the default execution target; use
--cloudto operate on Cloud. - Use Tinybird Local to develop and test projects before deploying to Cloud.
Commands
tb local start- Options:
--use-aws-creds,--volumes-path <path>,--skip-new-version,--user-token,--workspace-token,--daemon.
- Options:
tb local stoptb local restart- Options:
--use-aws-creds,--volumes-path,--skip-new-version,--yes.
- Options:
tb local statustb local removetb local versiontb local generate-tokens
Notes:
- If you remove the container without a persisted volume, local data is lost.
- Use
tb --cloud ...for Cloud operations.
Local-First Workflow
tb local start- Develop resources and run
tb buildas needed - Test endpoints/queries locally
- Use
--cloudfor Cloud actions (deploy, etc.)
Use --volumes-path to persist data between restarts.
Troubleshooting
- If status shows unhealthy, run
tb local restartand re-check. - If authentication is not ready, wait or restart the container.
- If memory warnings appear in status, increase Docker memory allocation.
- If Local is not running, start it with
tb local start.