Choosing the organisation to use in the CLI

When running commands such as snyk 'monitor' or 'test' on the CLI you should specify the organisation you wish to use

When you run commands on the CLI such as snyk monitor and snyk test we will use the organisation which was created when you first registered for an account. If you want commands to run against a different organisation, here's how to specify it:

You can run snyk config set org=orgname . Note: orgname should match the name as displayed in the URL of your org in the Snyk UI: https://snyk.io/org/[orgname]

If you would like to override this global configuration for individual runs, specify the org like so: snyk monitor --org=orgname , snyk test --org=orgname etc.