browse
pscale/

PlanetScale CLI

PlanetScale

Command line interface for PlanetScale serverless MySQL with branch-based workflows.

Databases & DataJSON
01Install
brew install planetscale/tap/pscale
Download binary →

02Agent Notes

pscale manages PlanetScale databases. `pscale branch create/list`, `pscale deploy-request create`. Use `--format json` for structured output. PlanetScale uses branch-based database workflows similar to git.


03Global Flags
FlagTypeDescription
--formatenum [json, csv, text]Output format
--orgstringOrganization to target

04Authentication
Methods
access-tokenoauth
Env vars
PLANETSCALE_SERVICE_TOKENPLANETSCALE_SERVICE_TOKEN_ID
Setuppscale auth login

05Capabilities
Reference
binarypscale
checkpscale version
authaccess-token, oauth
formatstext
json flag--format json
version0.274.0