Skip to main content
Version: 0.18.19

Installation

Dagger needs a container runtime. Docker works out of the box; Podman, nerdctl, and Apple Container also work.

Install the Dagger CLI

The commands below install Dagger v0.18.19, the version this documentation covers.

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

If your user can't write to /usr/local/bin, run the script with sudo -E:

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

Verify the installation:

dagger version
# version: v0.18.19

To upgrade or switch versions, re-run the install command with the version you want.

Package managers

Homebrew and winget carry the latest stable release only, which may differ from the version this documentation covers.

brew install dagger/tap/dagger