Skip to main content

Snyk CLI

Secure projects in your terminal with the Snyk CLI

Automatically find and fix vulnerabilities locally and in your CI/CD pipelines with the Snyk CLI.

npm install snyk -g

Security in 3 simple commands

1. Authenticate with Snyk

Run snyk auth to associate the Snyk CLI with your Snyk account.

2. Find & fix vulnerabilities

Run snyk test to find vulnerabilities and get actionable fix advice. 

3. Monitor continuously

Run snyk monitor to continuously monitor your projects for OS vulns and license issues.

Coverage throughout the SDLC with the Snyk CLI

From your first line of code to deployment, the Snyk CLI provides a comprehensive security coverage of your entire application ecosystem. Simply configure, command, and go.

Extensive language support

C++ logoC++ logo
Ruby logoRuby logo
Go logoGo logo
JavaScript logoJavaScript logo
.NET logo.NET logo
Java logoJava logo
PHP logoPHP logo
Python logoPython logo

Get started with the Snyk CLI

Install the Snyk CLI to find and fix vulnerabilities in your local projects and pipelines. 

npm install snyk -g

Additional resources

Video

Get started with the Snyk CLI in 3 minutes

Watch video

FAQ