Skip to main content

Install Contrast CLI

Install Contrast CLI before running a scan.

With Homebrew

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

brew tap contrastsecurity/tap
brew install contrast


Install using npm or yarn @contrast/contrast.

npm install --location=global @contrast/contrast

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.