Skip to main content

Install the Dagger CLI

Dagger requires a running container runtime. Install and start one of these runtimes: Docker, Podman, nerdctl, or Apple Container.

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

curl -fsSL https://dl.dagger.io/dagger/install.sh | DAGGER_VERSION=1.0.0-beta.12 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.12 BIN_DIR=/usr/local/bin sudo -E sh

Run this command to verify the installation:

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

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