Installing azure-cli fails with Rosetta 2 error
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 60
Description
> ### `az feedback` auto-generates most of the information requested below, as of CLI version 2.0.62
**Describe the bug**
Trying to install azure-cli on Mac with M1 chip, fails with error "Cannot install under Rosetta 2"
**To Reproduce**
Open Terminal, enter brew install azure-cli. Following error occurs:
Error: Cannot install under Rosetta 2 in ARM default prefix (/opt/homebrew)!
To rerun under ARM use:
arch -arm64 brew install ...
To install under x86_64, install Homebrew into /usr/local.
I then run the install using arch -arm64 brew install azure-cli but this fails with the following error:
Error: azure-cli dependencies not built for the arm64 CPU architecture:
ca-certificates was built for x86_64
**Expected behavior**
I expect azure-clu to install.
**Environment summary**
See above.
**Additional context**
Using a Macbook with M1 chip.
Contributor guide
Assessment
This issue has not been assessed yet.