When you run az bicep command on Mac M1, you might experience error
[Errno 8] Exec format error: '/Users/<username>/.azure/bin/bicep'
This error is because for some reason, bicep in azure cli was installed with a non-ARM version, to resolve this, do following steps
- Remove
/Users/<username>/.azure/bin/bicep
- Run
az bicep version
, this will force Azure CLI to download bicep and refresh. - If you see a message output with
Successfully installed Bicep CLI to
, then the bicep is repaired successfully.
Leave a Reply
You must be logged in to post a comment.