Skip to main content

Installation

info

The dagger CLI is available for installation on macOS, Linux, and Windows to run locally or in a CI environment.

Install the dagger CLI following the steps below.

We assume that you have Homebrew installed. If you do, you can install dagger with a single command:

brew install dagger/tap/dagger

This installs dagger in:

type dagger
# macOS ARM:
dagger is /opt/homebrew/bin/dagger
# macOS Intel:
dagger is /usr/local/bin/dagger

If you do not have Homebrew installed, or you want to install a specific version of dagger, you can run:

cd /usr/local
curl -fsSL https://dl.dagger.io/dagger/install.sh | DAGGER_VERSION=0.13.3 sh

./bin/dagger version
dagger v0.13.3 (registry.dagger.io/engine:v0.13.3) darwin/arm64

View source

If your user account doesn't have sufficient privileges to install in /usr/local and sudo is available, use the following command instead:

cd /usr/local
curl -fsSL https://dl.dagger.io/dagger/install.sh | DAGGER_VERSION=0.13.3 sudo -E sh