Installing the Openlayer CLI

To download and install Openlayer CLI, run the command that corresponds to your OS:

curl -o- "https://downloads.openlayer.com/cli/install/osx_arm64.sh" | sh

Checking the version

The --version option can be used to verify the version of Openlayer CLI being used.

openlayer --version

Using in a CI/CD environment

Openlayer CLI requires you to log in and authenticate before performing tasks, such as pushing or accessing test results.

In a terminal environment, you can use openlayer login, which requires manual input.

In a CI/CD environment where manual input is not possible, you can use your Openlayer API key and the --api-key option to authenticate. Refer to the CI/CD guide for details.

Avaliable commands