Comment on page
Snyk CLI scans and monitors your projects for security vulnerabilities and license issues.
- 1.Authenticate by running
- 2.Test your local project with
- 3.Get alerted for new vulnerabilities with
To learn more about each Snyk CLI command, use the
--helpoption, for example,
snyk auth --help.
Note: The help on the docs site is the same as the
--helpin the CLI.
Authenticate Snyk CLI with a Snyk account.
Test a project for open-source vulnerabilities and license issues.
snyk test --unmanagedto scan all files for known open-source dependencies (C/C++ only).
Snapshot and continuously monitor a project for open-source vulnerabilities and license issues.
These commands test and continuously monitor container images for vulnerabilities and generate an SBOM for a container image.
These commands find and report security issues in Infrastructure as Code files; detect, track, and alert on infrastructure drift and unmanaged resources; and create a .driftigore file.
snyk code testcommand finds security issues using Static Code Analysis.
Produce an SBOM for a local software project in an ecosystem supported by Snyk.
Find Log4Shell vulnerability.
Manage Snyk CLI configuration.
.snykpolicy for a package.
.snykpolicy to ignore stated issues.
-doption to output the debug logs.