1 0 1 1 0 1 0 0 0 1 0 1 1 0 0 1 1 1 0 0 1 0 1

Test your code

Check for known vulnerabilities in public GitHub repos and npm packages

By requesting a test report, you consent to us emailing you occasionally about Snyk. You can unsubscribe at any time, and we will never pass your email onto third parties.

Test a local project

Snyk’s CLI helps you find and fix known vulnerabilities in your dependencies, both ad hoc and as part of your CI (Build) system

The Snyk CLI requires you to authenticate with your account before using it. It supports Node.js, Ruby, Python, Java, Scala, Go and .NET.


Snyk is installed via npm. Run these commands to install it for local use:

npm install -g snyk

Once installed, you need to authenticate with your Snyk account:

npm install -g snyk

To only test your project for known vulnerabilities, browse to your project’s folder and run snyk test:

cd ~/projects/myproj/
snyk test

Learn about Snyk CLI