macOS
brew install pscalelocal Homebrew formula metadata
brew / rank 2684
CLI for PlanetScale Database. Version 0.335.0 via Homebrew; verified 2026-09-19. Also installable with nix: nix profile install nixpkgs#pscale.
install
brew install pscalelocal Homebrew formula metadata
nix profile install nixpkgs#pscalenixpkgs package indexes · pkgs/by-name/ps/pscale/package.nix · source: api.github.com
winget install --id PlanetScale.CLI -eWindows Package Manager source index · PlanetScale.CLI · source: cdn.winget.microsoft.com
overview
CLI for PlanetScale Database
history
PlanetScale CLI, invoked as pscale, manages PlanetScale databases and platform resources from interactive terminals, scripts, CI jobs, and agent workflows.
PlanetScale created pscale as the command-line interface to its managed database platform. The tool grew beyond basic connection commands to cover organizations, databases, branches, deploy requests, backups, workflows, webhooks, service tokens, Postgres roles and passwords, and Vitess-specific operations.
The project later added container distribution, structured output, service-token automation, GitHub Actions integration, and guidance for non-interactive agents.
PlanetScale distributes the CLI as release binaries and packages for macOS, Linux, and Windows, as well as an official container image. Homebrew and Nix coverage is recorded in source_facts.package-manager.
The CLI is also designed for automation: official guidance documents service-token environment variables, machine-readable output, GitHub Actions usage, and agent-oriented commands.
Users authenticate interactively with pscale auth login or supply PLANETSCALE_SERVICE_TOKEN_ID and PLANETSCALE_SERVICE_TOKEN for automation. Commands manage databases, branches, deploy requests, organizations, backups, passwords, roles, webhooks, and workflows.
The CLI opens database shells and connections, and pscale sql supports non-interactive queries. The global --config option defaults to $HOME/.config/planetscale/pscale.yml.
pscale packages a hosted database control plane into a scriptable Unix-style interface. It is especially notable for exposing PlanetScale's branching and deploy-request concepts alongside conventional database shells and SQL execution, making infrastructure workflows reproducible from terminals and CI systems.
security posture
No matching local secret-handling manifest was found for pscale. Package metadata is still published here so future coverage has a stable package URL.
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
~/.config/planetscale/pscale.ymlCredential-bearing paths to review before unattended agent runs.
~/.config/planetscale/access-token~\.config\planetscale\access-tokenexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
pscale | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/planetscale/cli
install metadata
| Package key | brew:pscale |
|---|---|
| Version | 0.335.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/pscale |
| Homepage | https://www.planetscale.com/ |
| Repository | https://github.com/planetscale/cli |
| Upstream docs | https://www.planetscale.com/ |
| License | Apache-2.0 |
| Source archive | https://github.com/planetscale/cli/archive/refs/tags/v0.328.0.tar.gz |
| Last updated | 2026-09-19T01:46:45+02:00 |
| Pulse | updated |
| Build dependencies | go |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | pscale |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
pscale
nix profile install nixpkgs#pscalePlanetScale.CLI
winget install --id PlanetScale.CLI -esource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.