Skip to main content

Install the Dagger CLI

Use the command for your operating system. Each command installs Dagger v1.0.0-beta.14.

curl -fsSL https://dl.dagger.io/dagger/install.sh | DAGGER_VERSION=1.0.0-beta.14 BIN_DIR=/usr/local/bin sh

If you cannot write to /usr/local/bin, run the script with sudo -E:

curl -fsSL https://dl.dagger.io/dagger/install.sh | DAGGER_VERSION=1.0.0-beta.14 BIN_DIR=/usr/local/bin sudo -E sh

Run this command to verify the installation:

dagger version
# version: v1.0.0-beta.14

To change the Dagger version, run the applicable install command again. Specify the required version.