To associate the Snyk CLI for use with your Snyk account, you must first authenticate your machine. No repository permissions are needed at this stage, only your email address. When you have authenticated, you can get started using the CLI.
You can authenticate:
Through your browser by running snyk auth from the CLI; see the Auth command help.
Using your API token
Using the SNYK_TOKEN environment variable; see Configure the Snyk CLI. Use SNYK_TOKEN in a CI/CD environment.