Tiger Cli
Tiger CLI is the command-line interface for Tiger Cloud. It includes an MCP server for helping coding agents write production-level Postgres code.
Tiger CLI is the command-line interface for Tiger Cloud. It provides commands for managing and querying database services, as well as an integrated Model Context Protocol (MCP) server for use with AI assistants.
Installation
Multiple installation methods are provided. Choose your preferred method from the options below. If you aren't sure, use the first one!
Install Script (macOS/Linux/WSL)
curl -fsSL https://cli.tigerdata.com | sh
Install Script (Windows)
irm https://cli.tigerdata.com/install.ps1 | iex
Homebrew (macOS/Linux)
brew install --cask timescale/tap/tiger-cli
Debian/Ubuntu
# Add repository
curl -s https://packagecloud.io/install/repositories/timescale/tiger-cli/script.deb.sh | sudo os=any dist=any bash
# Install tiger-cli
sudo apt-get install tiger-cli
For manual repository installation instructions, see here.
Red Hat/Fedora
# Add repository
curl -s https://packagecloud.io/install/repositories/timescale/tiger-cli/script.rpm.sh | sudo os=rpm_any dist=rpm_any bash
# Install tiger-cli
sudo yum install tiger-cli
For manual repository installation instructions, see here.
Go Install
go install github.com/timescale/tiger-cli/cmd/tiger@latest
Updating
To upgrade an existing installation to the latest release:
tiger upgrade
This downloads the latest published binary, verifies its checksum, and replaces the currently running binary in place. If Tiger CLI was installed via a package manager (Homebrew, apt, yum/dnf), tiger upgrade will instead point you at the matching package-manager command.
Quick Start
After installing Tiger CLI, authenticate with your Tiger Cloud account:
# Login to your Tiger account
tiger auth login
# View available commands
tiger --help
# List your database services
tiger service list
# Create a new database service
tiger service create --name my-database
# Get connection string
tiger db uri
# Connect to your database
tiger db psql
# Run a query without psql
tiger db query -c "SELECT now()"
# Install the MCP server
tiger mcp install
# Install agent skills for your coding agent
tiger skills install
Usage
Tiger CLI provides the following commands:
From the project's README.