Skip to main content

Installation

Chainloop is comprised of two main components

  • A Server Side Component (Control Plane + Artifact Storage Proxy) that acts as single source of truth and management console.
  • A Command Line Interface (CLI) used to both a) operate on the control plane and b) run the attestation process on your CI/CD

Command Line Interface (CLI) installation

To install the latest version for macOS, Linux or Windows (using WSL) just choose one of the following installation method.

curl -sfL https://docs.chainloop.dev/install.sh | bash -s

you can retrieve a specific version with

# You can find all the available versions at https://github.com/chainloop-dev/chainloop/releases
curl -sfL https://docs.chainloop.dev/install.sh | bash -s -- --version vx.x.x

and customize the install path (default to /usr/local/bin)

curl -sfL https://docs.chainloop.dev/install.sh | bash -s -- --path /my-path

if cosign is present in your system, in addition to the checksum check, a signature verification will be performed. This behavior can be enforced via the --force-verification flag.

curl -sfL https://docs.chainloop.dev/install.sh | bash -s -- --force-verification

Deploy Chainloop

To run a Chainloop instance on your Kubernetes cluster follow these instructions.

Configure CLI

If you are running your own instance of Chainloop Control Plane. You can make the CLI point to your instance by using the chainloop config save command.

chainloop config save \
  --control-plane my-controlplane.acme.com \
  --artifact-cas cas.acme.com

Another option would be to build a custom version of CLI with default endpoints' values pointing at your Chainloop instance. Please learn more about this method in the following doc.

Authentication

Authenticate to the Control Plane by running

$ chainloop auth login

That's all!

Welcome to Chainloop!