Install the PlanetScale CLI

setup & auth

// what it does

Installs pscale from PlanetScale's Homebrew tap on macOS (Linux and Windows get binaries, apt/yum packages, or scoop). The CLI is a single binary that talks to the PlanetScale API — it's the fastest way to create branches, open deploy requests, and mint credentials without touching the dashboard.

// shell

$ brew install planetscale/tap/pscale
$ brew upgrade pscale

// gotcha

`pscale shell` shells out to the `mysql` or `psql` client binary, which is NOT bundled — install it separately (brew install mysql-client for Vitess databases, libpq or postgresql for Postgres) or shell commands will fail even though pscale itself works.

// resources