Global options

The following options are available for all commands. Enter them before the command name. For example: tb --host https://api.tinybird.co workspace ls.

Environment options (--cloud, --local, --build, --staging) don't apply to all commands. For example, tb dev and tb build don't support --cloud. Check the Environment support section on each command's page to see which options apply.

OptionDescription
--host TEXTTinybird host. Defaults to the value of the TB_HOST environment variable, then to https://api.tinybird.co.
--token TEXTAuthentication token. Defaults to the value of the TB_TOKEN environment variable, then to the .tinyb file. See .tinyb file.
--show-tokensShows available tokens.
--user-tokenUse the user token, defaults to the TB_USER_TOKEN environment variable, then to the .tinyb file. See .tinyb file.
--cloud / --localRun against Tinybird Cloud or Tinybird Local. Local is the default except when in build mode.
--buildRun against the build mode. Default when running tb dev or tb build --watch.
--stagingRun against the staging deployment.
--debug / --no-debugPrints internal representation. Combine it with any command to get more information.
--versionShows the version and exits.
-h, --helpShows help for the command.
Updated