Table of Contents
macOS installation
Linux installation
Windows installation
Manual setup (any OS)
Using the PlanetScale CLI
Setup overview
macOS instructions
To install the PlanetScale CLI on macOS, we recommend using Homebrew. How to install or verify Homebrew is on your computer:1
Open Terminal.
2
Check if you have Homebrew installed by running the following command:
3
If you don’t see “Homebrew” and a version number, then download and install Homebrew.
4
Once you’ve installed Homebrew, repeat Step 2 to verify.
- Run the following command:
- To install the MySQL command-line client:
- To install the PostgreSQL command-line client:
Linux instructions
pscale is available as downloadable binaries from the PlanetScale releases page.
Download the .deb or .rpm from the releases page and install with sudo dpkg -i and sudo rpm -i respectively.
The MySQL and PostgreSQL command-line clients can be installed via your package manager.
MySQL client:
- Debian-based distributions:
- RPM-based distributions:
- Debian-based distributions:
- RPM-based distributions:
Windows instructions
On Windows,pscale is available via scoop, and as a downloadable binary from the PlanetScale releases page:
pscale.exe file into the folder of your choice. Then, run it from PowerShell or whatever terminal you regularly use.
MySQL client setup:
The MySQL command-line client is available in the Windows MySQL Installer. To launch pscale shell you will need to have the mysql.exe executable’s directory in your shell’s PATH.
In PowerShell, add that directory to your current shell’s PATH:
psql:
Manual setup (any OS)
If you prefer to manually install thepscale binary for your operating system, the following two methods may be used.
Download the binary
Download the pre-compiled binaries from the PlanetScale releases page and download the binary for your operating system to the desired location. The binary may be run using the terminal of your choice from that location.Install using bin
bin is a cross-platform tool to manage binary files. You can install the pscale CLI using bin with the following command:

