The Baseline CLI

The Baseline CLI is a simple, yet powerful little tool to allow you to execute all Baseline commands.

Downloading the Baseline CLI

Head over to our download page to download the latest version of the Baseline CLI. Once you have downloaded the ZIP. Extract it to a convenient location like your Desktop.

Installation

You can run the Baseline CLI by simply double-clicking on the file. When you do this for the first time, MacOS will show you a warning, similar to the one below:

Can not open Baseline CLI.

Here you just have to click "Ok" and acknowledge the message. Next, head over to System Preferences and open the Security & Privacy section. You will see a little note at the bottom mentioning "baseline was blocked". Press the "Open Anyway" button to confirm that you'd like to run the Baseline CLI. See the picture below:

Confirm to open the Baseline CLI.

After this, you will get a final confirmation asking whether you want to open the Baseline CLI.
Click "Open" and the CLI will open 🎉

Final confirmation before running the Baseline CLI.

Requesting the access token

When you run the Baseline CLI for the first time, you are asked to provide "credentials". After you have requested access to Baseline, we will reach out to you and provide you with these credentials. Paste the credential into the prompt.

Paste your credentials.

Running the CLI

You can start the CLI by double-clicking on the file or by opening a terminal and then running

./baseline

Troubleshooting

Sometimes it can happen that the Baseline CLI will return an error. If this persists, you can delete all credentials and local settings by running the clean command:

./baseline clean