---
title: tb local
meta:
    description: Manage your local development environment
---

# tb local

Manages the local development environment.

The following subcommands are available:

{% table %}
  * Subcommand
  * Description
  * Arguments
  ---
  * generate-tokens
  * Generates 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>`
  ---
  * restart
  * Restarts the local development environment.
  * None
  ---
  * stop
  * Stops the local development environment.
  * None
  ---
  * remove
  * Removes the local development environment.
{% /table %} 

## tb local start

Starts the local development environment.

{% table %}
  * Option
  * Description
  ---
  * --watch
  * Watches the logs of Tinybird Local while it is running.
{% /table %}

## Environment support

{% table %}
  * Environment
  * Supported
  * Description
  ---
  * `--local`
  * ✗ No
  * This command manages Tinybird Local itself.
  ---
  * `--cloud`
  * ✗ No
  * This command manages Tinybird Local itself.
  ---
  * `--branch=BRANCH_NAME`
  * ✗ No
  * This command manages Tinybird Local itself.
{% /table %}
