Prerequisite for CLI on an Apple M1 machine
To run Snyk CLI on an Apple M1 machine, you need to install Apple's Rosetta 2 software. You can do so by running the following in a terminal:
softwareupdate --install-rosetta
If you do not have the Rosetta 2 software installed you may see the following error:
$ snyk --version
bad CPU type in executable
PreviousPrerequisites for CLI and Jenkins plugin on Alpine Linux operating systemNextAuthenticate the CLI with your account
Last updated
Was this helpful?