contrast-go-installer downloads and installs Contrast Security's
contrast-go, which is used to
instrument web applications to detect vulnerabilities at runtime. It chooses the
correct contrast-go release for your OS and architecture, and downloads the
requested version.
Click for a demo of contrast-go.
A full list of contrast-go releases can be found at https://pkg.contrastsecurity.com/go-agent-release/.
- go1.17 or later, which can be downloaded from https://go.dev/dl/.
Note While
contrast-go-installerworks with version 1.17 and on,contrast-gorequires one of the two latest Go major versions. For a full list of contrast-go's system requirements, see OS and architecture requirements.
To install the latest contrast-go version:
go run github.com/contrast-security-oss/contrast-go-installer@latest latestTo install a specific contrast-go version:
go run github.com/contrast-security-oss/contrast-go-installer@latest 3.1.0The install location will be $GOBIN if set, otherwise $GOPATH/bin. To change
the install location, override $GOBIN when running the command:
GOBIN=/path/to/dir go run github.com/contrast-security-oss/contrast-go-installer@latest 3.1.0If you experience any issues with installation, or have any questions for the team, please contact us via our support portal