Skip to main content

Install Contrast CLI

Use these procedures to Install Contrast CLI.

With Homebrew

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

brew tap contrastsecurity/tap
brew install contrast

With NPM/YARN

Note

Currently, only Node.js 18+ is supported.

Install using npm or yarn @contrast/contrast.

Use this command:

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

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 authenticating your account.