Skip to main content

Install Contrast CLI

Install Contrast CLI before running a scan.


Contrast CLI V2.0 is available via installation with npm only.

With Homebrew

Install from Contrast's tap with Homebrew by running the following commands.

brew tap contrastsecurity/tap
brew install contrast



Currently, only Node.js 16+ is supported.

Install using npm or yarn @contrast/contrast.

For CLI V2.0, use this command:

npm install --location=global @contrast/contrast@2.0.0

For CLI V1.0, use this command:

npm install --location=global @contrast/contrast@1

With Binaries

  • Go to artifacts.

  • Download the latest package.

  • You must allow execute permissions on the file depending on your OS.

Once installed, continue by running the Contrast CLI.