Snyk CLI

Information about using the Snyk CLI to test, fix and monitor your codebase

Ellen avatar Josh Emerson avatar Anton Drukh avatar
10 articles in this collection
Written by Ellen, Josh Emerson, and Anton Drukh

CLI monitored projects are created with Ids in the project names

Projects are being created with IDs in the project name
Ellen avatar
Written by Ellen
Updated over a week ago

Why did the Snyk CLI discover different dependencies to an integration?

Did some dependencies found via the CLI differ from those found via GitHub, GitLab, Bitbucket Server or another integration?
Josh Emerson avatar
Written by Josh Emerson
Updated over a week ago

Does the CLI support monorepos?

I have run snyk monitor against two files in my project but I only see one of them on the snyk website.
Ellen avatar
Written by Ellen
Updated over a week ago

How is the `package.json` used by the Snyk CLI?

does the package.json get scanned when using the Snyk CLI
Ellen avatar
Written by Ellen
Updated over a week ago

What is the difference between the `snyk test`, `snyk protect` and `snyk monitor`?

Here we describe what the differences are between some of our CLI commands
Josh Emerson avatar
Written by Josh Emerson
Updated over a week ago

`snyk protect` requires the `patch` binary

`snyk protect` failed with an error message which includes "GNU's patch is not available"
Anton Drukh avatar
Written by Anton Drukh
Updated over a week ago

Where can I find the release notes for the Snyk CLI?

What's changed in the latest CLI releases?
Ellen avatar
Written by Ellen
Updated over a week ago

I've set up my project using the CLI and running snyk test but can’t see the project on Snyk.io. Why not?

Why can I not see my CLI project on the website on the projects page or dashboard
Ellen avatar
Written by Ellen
Updated over a week ago

Choosing the organisation to use in the CLI

When running commands such as `snyk monitor` or `snyk test` on the CLI you should specify the organisation you wish to use
Josh Emerson avatar
Written by Josh Emerson
Updated over a week ago

How can I set a CLI project as open source?

Why is my open source project being treated as private? By default, CLI projects are treated as private, but you can set them to open source
Josh Emerson avatar
Written by Josh Emerson
Updated over a week ago