PlanetScale CLI (fixing the zsh: command not found: brew error)
If you get the zsh: command not found: brew error, try following the steps below in order.
You need to install Homebrew before installing the PlanetScale CLI.
When you enter the command below in the terminal, it asks for your password. Type your password and press Enter.
bash
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"After the install finishes, check the version. If it shows up correctly, it's installed.
bash
brew -vThen run the following in the terminal, in order.
-
brew install planetscale/tap/pscal
-
brew install mysql-client (installs the mysql client)
-
brew upgrade pscale (updates to the latest version)
- #CLI
- #PlanetScale
- #Nomad Coders
- #Carrot Market