TINYBIRD CODE: The AI ClickHouse® Expert Read the docs.
  • Docs
  • API reference
  • SQL reference
Sign InStart building
DocsAPI referenceSQL reference
    ClassicOriginal user experience
  • Get started
    • Quick start
    • Core concepts
    • Integrations
    • Learn

      • Chapter 1: Idea to Production
    • Migrate from ClickHouse
    • Integrate with Open Source
  • Ingest data
    • Protection
    • Data sources
    • Send events
    • Ingest from files
    • Connectors

      • Kafka

        • Troubleshooting
        • Limits
        • Guides

          • Confluent Cloud setup
          • AWS MSK setup
          • Redpanda setup
          • Local development
          • CI/CD and version control
          • Schema management
          • Partitioning strategies
          • Message size handling
          • Performance optimization
      • S3
      • GCS
    • Table functions

      • Apache Iceberg
      • MySQL
      • PostgreSQL
      • URL
    • Ingest guides

      • Auth0
      • AWS ELB logs
      • AWS Kinesis
      • BigQuery using Google Cloud Storage
      • Clerk
      • CSV files
      • Estuary
      • GitLab
      • GitHub
      • Google Pub/Sub
      • Knock
      • LiteLLM
      • Mailgun
      • MongoDB
      • OpenTelemetry
      • Orb
      • PagerDuty
      • Postgres CDC with Redpanda Connect
      • Python logs
      • Resend
      • Dub
      • RudderStack
      • Sentry
      • Stripe
      • Snowflake using S3
      • Snowflake using Azure Blob Storage
      • Snowflake incremental updates
      • Vector.dev
      • Vercel (webhooks)
      • Vercel (log drains)
      • Vercel AI SDK
    • Quarantine
    • Data operations

      • Replace & delete data
      • GDPR-compliant data deletion
  • Work with data
    • Pipes
    • Publish data

      • Endpoints

        • Multi-tenant real-time APIs with Clerk and Tinybird
        • Consume APIs in a Next.js frontend
        • Consume APIs in a notebook
        • Consume APIs in Prometheus format
        • Share API docs with team members
        • Use advanced dynamic endpoint functions
      • Sinks

        • Kafka Sink
        • S3 Sink
        • GCS Sink
      • ClickHouse Interface

        • Grafana
        • Hex
        • Metabase
        • Superset
        • DataGrip
        • DBeaver
        • Power BI
        • Redash
        • ClickHouse JS Client
        • ClickHouse Go Client
        • ClickHouse Python Client
        • Chartbrew
        • Deepnote
        • Draxlr
        • Fabi.ai
        • Holistics
        • Luzmo
        • Mitzu
        • Tableau
    • Optimize

      • Copy pipes
      • Materialized views
      • Guides

        • Deduplication strategies
        • Lambda architecture
    • Query parameters
    • Explorations
  • Analytics agents
    • MCP server
    • Examples
    • Best practices
  • Test and deploy
    • Local development
    • Branches
    • Evolve data sources
    • Test your project
    • Deployments

      • CLI
      • CI/CD
  • Monitor your data
    • Health checks
    • Service Data Sources
    • Monitor Kafka connectors
    • Monitor Workspace jobs
    • Measure endpoint latency
    • Analyze endpoint performance
    • Organization Consumption
  • Tinybird Code
    • Overview
    • Common workflows
  • Administration
    • Organizations

      • Cluster management
    • Workspaces
    • Tokens

      • Static tokens
      • JSON Web tokens (JWTs)
  • Pricing
    • Concepts
    • Billing
    • Limits
  • Deployment options
    • Local container
    • Self-managed Tinybird

      • Add a self-managed region manually
      • Use the CLI to add a self-managed region
    • Migrate from Classic
  • Reference
    • Datafiles

      • Datasource files
      • Connection files
      • Pipe files
      • Test files
      • .tinyb file
    • CLI commands

      • Global options
      • tb
      • tb branch
      • tb build
      • tb connection
      • tb copy
      • tb create
      • tb datasource
      • tb deploy
      • tb deployment
      • tb dev
      • tb endpoint
      • tb fmt
      • tb info
      • tb infra
      • tb job
      • tb local
      • tb login
      • tb logout
      • tb materialization
      • tb mock
      • tb open
      • tb pipe
      • tb secret
      • tb sink
      • tb sql
      • tb test
      • tb token
      • tb update
      • tb workspace
    • Template functions
    • Database errors

      • Common error patterns
  • Support
  • Compliance
Changelog
Start building
Sign In
  1. Home
  2. /Reference
  3. /CLI commands

CLI command reference¶

The following list shows all available commands in the Tinybird command-line interface, their options, and their arguments.

  • Global options
  • tb
  • tb branch
  • tb build
  • tb connection
  • tb copy
  • tb create
  • tb datasource
  • tb deploy
  • tb deployment
  • tb dev
  • tb endpoint
  • tb fmt
  • tb info
  • tb infra
  • tb job
  • tb local
  • tb login
  • tb logout
  • tb materialization
  • tb mock
  • tb open
  • tb pipe
  • tb secret
  • tb sink
  • tb sql
  • tb test
  • tb token
  • tb update
  • tb workspace
Updated 7 months ago
Previous.tinyb file
NextGlobal options
Was this page helpful?
On this page
  • CLI command reference
forward
Copyright © 2025 Tinybird. All rights reserved
|
Terms & conditionsCookiesTrust CenterCompliance HelplineThird-party credits