Skip to main content

Installation

note

The Dagger Go SDK requires Go 1.20 or later.

From your existing Go module, install the Dagger Go SDK using the commands below:

go get dagger.io/dagger@latest

After importing dagger.io/dagger in your Go module code, run the following command to update go.sum:

go mod tidy