CLI - Troubleshooting
If your instance of the Snyk CLI has started failing, follow these steps to resolve:
- Ensure you are on the most up to date version of the CLI by running
npm install -g snyk
- Make sure you are authenticating prior to running the Snyk CLI command You can either authenticate by running
snyk authin your terminal, and it’ll guide you through this process, or visit your account, copy your API token and set the environment variable
SNYK_TOKENto your token.
- If you are still having problems after upgrading and authenticating send an email to firstname.lastname@example.org and we will help you out.