Skip to content

Install pscale CLI #3

Description

@lakruzz

PlanetScale is a MySql compliant environment. The CLI is called pscale and has a dependency to the mysql CLI.

Much the same way GitHubs CLI gh has a dependency to the git cli.

Actually you'll find that pscale is built much on the same concept as gh - nice!

Now we need to setup the environment for use:

We're here on PlanetScale environment set up in the documentation.


Install using package manager

MacOs

Assuming MySql client is already installed (more details):

brew install planetscale/tap/pscale

Windows

Assuming MySql client is already installed (more details):

scoop bucket add pscale https://github.com/planetscale/scoop-bucket.git
scoop install pscale mysql

Codespace (Ubuntu)

Assuming your are on a default Codespace on GitHub (Ubuntu) - without MySql Client installed more details

sudo apt-get update && sudo apt-get install -y mysql-client
curl -LO https://github.com/planetscale/cli/releases/download/v0.131.0/pscale_0.131.0_linux_amd64.deb
sudo dpkg -i pscale_0.131.0_linux_amd64.deb 
rm pscale_0.131.0_linux_amd64.deb

To test if it works simply run

pscale

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions