PlanetScale is more than a database and our CLI is more than a jumble of commands. It's a command center.
To interact with PlanetScale and manage your databases, you can use the
pscale CLI to do the following:
To install the PlanetScale CLI on a Mac, we recommend using Homebrew.
How to install or verify Homebrew is on your computer:
Installing via Homebrew Tap
brew install planetscale/tap/pscale
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.
Download the pre-compiled binaries from the releases page and copy to the desired location.
pscale is available as downloadable binary from the releases page. Download this and unzip the
pscale.exe file into the folder of your choice. Then, run it from
cmd.exe or whatever terminal you regularly use.
See all available commands by running:
Verify that you're using the latest version:
$ pscale version
You're all set!