#[Deprecated] Installing the Baselime CLI
The Baselime CLI enables you to interact with Baselime and your observability data through the command line.
#Installing
- Installing with Homebrew
terminal
1
2
- Installing with
curl
terminal
1
- Installing with
npm
terminal
1
Optionally, you can download the latest version of the Baselime CLI binary from the releases page on GitHub.
- Download the binary for your operating system and architecture (e.g.,
baselime_linux_x64
orbaselime_darwin_x64
). - Unzip the tarball with
tar -xf baselime-<os>-<arch>-<version>.tar.gz
- Make the binary executable with
chmod +x baselime
. - Move the binary to a directory in your
PATH
, such as/usr/local/bin
, withmv baselime /usr/local/bin/baselime
.
note
On some systems, you might need to run these commands with sudo
.
#Verifying the installation
Verify that the Baselime CLI was installed with:
terminal
1
#Authenticating the CLI
Before you can use the Baselime CLI, you must authenticate it with your Baselime account.
terminal
1
To use the Baselime CLI in non-interactive evironments, such as in CI pipelines, set the BASELIME_API_KEY
environment variable to your Baselime API key and the CLI will use it for all commands.
#Updating the Baselime CLI
To update the Baselime CLI to the latest version, use one of the following commands depending on how you originally installed it:
- If you installed with
brew
, runbrew upgrade @baselime/cli
- If you installed with
curl
, runbaselime upgrade
- If you installed with
npm
, runnpm update -g @baselime/cli