tb local

Manages the local development environment.

The following subcommands are available:

SubcommandDescriptionArguments
generate-tokensGenerates random default user and workspace tokens for use in dev, CI/CD and testing.None

start

Starts the local development environment. Run with token args to set default values for TB_LOCAL_USER_TOKEN and TB_LOCAL_WORKSPACE_TOKEN.

--user-token=<USER_TOKEN>

--workspace-token=<WORKSPACE_TOKEN>

restartRestarts the local development environment.None
stopStops the local development environment.None
removeRemoves the local development environment.

tb local start

Starts the local development environment.

OptionDescription
-d, --daemonRuns Tinybird Local in the background. By default, the command stays attached and watches the logs of Tinybird Local while it is running (-w, --watch).
--use-aws-credsUses the AWS credentials from your environment and passes them to the Tinybird Local container. Required to run S3 connections locally. See Using AWS credentials.
--volumes-path TEXTPath to the volumes directory. If not provided, the container data isn't persisted.
--skip-new-versionSkips pulling the latest Tinybird Local image and uses your current local image.
--user-token TEXTUser token for the Tinybird Local container. Defaults to the TB_LOCAL_USER_TOKEN environment variable.
--workspace-token TEXTWorkspace token for the Tinybird Local container. Defaults to the TB_LOCAL_WORKSPACE_TOKEN environment variable.

Environment support

EnvironmentSupportedDescription
--local✗ NoThis command manages Tinybird Local itself.
--cloud✗ NoThis command manages Tinybird Local itself.
--branch=BRANCH_NAME✗ NoThis command manages Tinybird Local itself.
Updated