Install Tinybird

Tinybird Local consists of a CLI tool and a containerized version of Tinybird that you can install on your machine or deploy on a cloud provider.

For a quick start guide, see Deploy a new project in five minutes.

Prerequisites

To install and use Tinybird Local on your machine, you need to have the following prerequisites:

Install Tinybird on your machine

To install Tinybird, run the following command:

curl https://tinybird.co | sh

This installs the Tinybird CLI and the Tinybird Local container.

Authenticate with Tinybird Cloud

The best way to deploy your Tinybird project is Tinybird Cloud, a managed platform available in several cloud providers and regions.

Current Tinybird regions

RegionProviderProvider regionAPI base URL
EuropeGCPeurope-west2https://api.europe-west2.gcp.tinybird.co
EuropeGCPeurope-west3https://api.tinybird.co
US EastGCPus-east4https://api.us-east.tinybird.co
North AmericaGCPnorthamerica-northeast2https://api.northamerica-northeast2.gcp.tinybird.co
EuropeAWSeu-central-1https://api.eu-central-1.aws.tinybird.co
EuropeAWSeu-west-1https://api.eu-west-1.aws.tinybird.co
US EastAWSus-east-1https://api.us-east.aws.tinybird.co
US WestAWSus-west-2https://api.us-west-2.aws.tinybird.co

To authenticate your local environment with Tinybird Cloud, run the following command:

tb login

This opens a browser window where you can sign in to Tinybird Cloud.

Install on a cloud provider

To install Tinybird on a cloud provider, see Self-managed cloud.

Uninstall the Tinybird CLI

How you uninstall the Tinybird CLI (tb) depends on how it was installed.

Using a package manager

If you installed the CLI using a package manager, use its uninstall command:

  • Homebrew: brew uninstall tinybird-cli
  • pip: pip uninstall tinybird-cli
  • npm: npm uninstall -g @tinybirdco/cli

Manual uninstallation

If you installed the CLI using the curl script, you can remove the executable file:

rm $(which tb)

The binary is typically located at:

  • Linux/macOS: /usr/local/bin/tb
  • Or wherever which tb points to

To completely remove all configuration and cache files (optional):

rm -rf ~/.tinyb/

The ~/.tinyb/ directory contains tokens, configuration, and cache data.

Next steps

Updated