When trying to run a Snyk CLI release before version 1.1230.0 on an Apple M1 or M2 machine, you may see an error when trying to run any snyk cli command.
Example on an M1 machine:
$ snyk --version
bad CPU type in executable
Example on an M2 machine:
$ snyk --version
Unknown system error -86
Please see Snyk User Docs for how to install and run on these machines: https://docs.snyk.io/snyk-cli/install-or-update-the-snyk-cli/using-cli-releases-before-version-1.1230.0-on-an-apple-m1-or-m2-machine
Or update to a higher version of the CLI :