planetscale/cli has 672 GitHub stars and 69 forks. GitHot measured 0 stars in 24 hours and +1 in 7 days. Last checked 2026-11-09 04:13 UTC. Last push 2026-11-02.
The CLI for PlanetScale Database
Measured star growth
- in 24h
- 0
- in 7 days
- +1
- in 15 days
- Update delayed
- in 1 month
- Update delayed
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalPlanetScale CLI 
PlanetScale is more than a database and our CLI is more than a jumble of commands. The pscale command line tool brings branches, deploy requests, and other PlanetScale concepts to your fingertips.

Installation
macOS
pscale is available via a Homebrew Tap, and as downloadable binary from the releases page:
brew install planetscale/tap/pscale
Optional: pscale requires a MySQL 8 Client in your PATH for certain commands. You can install it by running:
brew install [email protected]
To upgrade to the latest version:
brew upgrade pscale
Linux
pscale is available as downloadable binaries from the releases page. Download the .deb or .rpm from the releases page and install with sudo dpkg -i and sudo rpm -i respectively.
Arch: pscale-cli-bin
Windows
pscale is available via scoop, and as a downloadable binary from the releases page:
scoop bucket add pscale https://github.com/planetscale/scoop-bucket.git
scoop install pscale mysql
To upgrade to the latest version:
scoop update pscale
Manually
Download the pre-compiled binaries from the releases page and copy to the desired location.
Alternatively, you can install bin which works on all macOS, Windows, and Linux platforms:
bin install https://github.com/planetscale/cli
To upgrade to the latest version
bin upgrade pscale
Container images
We provide ready to use Docker container images. To pull the latest image:
docker pull planetscale/pscale:latest
To pull a specific version:
docker pull planetscale/pscale:v0.63.0
If you like to have a shell alias that runs the latest version of pscale from docker whenever you type pscale:
mkdir -p $HOME/.config/planetscale
alias pscale="docker run -e HOME=/tmp -v $HOME/.config/planetscale:/tmp/.config/planetscale --user $(id -u):$(id -g) --rm -it -p 3306:3306/tcp planetscale/pscale:latest"
If you need a more advanced example that works with service tokens and differentiates between commands that need a pseudo terminal or non-interactive mode, have a look at this shell function.
MCP Server Integration
Use the hosted PlanetScale MCP server: https://planetscale.com/docs/connect/mcp
GitHub Actions Usage
Use the setup-pscale-action to install and use pscale in GitHub Actions.
- name: Setup pscale
uses: planetscale/setup-pscale-action@v1
- name: Use pscale
env:
PLANETSCALE_SERVICE_TOKEN_ID: ${{ secrets.PLANETSCALE_SERVICE_TOKEN_ID }}
PLANETSCALE_SERVICE_TOKEN: ${{ secrets.PLANETSCALE_SERVICE_TOKEN }}
run: |
pscale deploy-request list my-db --org my-org
Local Development
To run a command:
go run cmd/pscale/main.go <command>
Alternatively, you can build pscale:
go build cmd/pscale/main.go
And then use the pscale binary built in cmd/pscale/ for testing:
./cmd/pscale/pscale <command>
The API client is vendored at internal/planetscale/; this repo no longer depends on
planetscale-go. Read doc/api-client.md before touching
API-facing code.
Documentation
Please checkout our Documentation page: planetscale.com/docs
For AI agents and automation, run pscale agent-guide (or pscale --skill for an
installable skill file) — see AGENTS.md.
For operational workflows (inventory, safety review, schema recommendations), install
planetscale/skills.
Explore related projects
Asabeneh/30-Days-Of-Python
The 30 Days of Python programming challenge is a step-by-step guide to learn the Python programming language in 30 days. This challenge may take more than 100 days. Follow your own pace. These videos may help too: https://www.youtube.com/channel/UC7PNRuno1rzYPb1xLa4yktw
78,423 starsgrafana/grafana
The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
77,763 starsredis/redis
For developers, who are building real-time data-driven applications, Redis is the preferred, fastest, and most feature-rich cache, data structure server, and document and vector query engine.
77,309 starsapache/superset
Apache Superset is a Data Visualization and Data Exploration Platform
75,453 stars