Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve README about Macs with M1 chips #2479

Merged
merged 1 commit into from
Apr 15, 2021
Merged

Conversation

leafac
Copy link
Contributor

@leafac leafac commented Apr 5, 2021

I was trying to follow the instructions on the README on a fresh macOS installation and tripped over the fact that Rosetta 2 wasn’t installed. I got the following error:

$ arch -x86_64 zsh
arch: posix_spawnp: zsh: Bad CPU type in executable

This pull request mentions that you must have Rosetta 2 installed and provides instructions on how to do it. I ended up installing Rosetta 2 by opening OBS, which is Intel-only when installed via Homebrew as of 2021-04-05, and I borrowed the command to install Rosetta 2 on the command line from this thread: https://apple.stackexchange.com/questions/408375/zsh-bad-cpu-type-in-executable

Mention that you must have Rosetta 2 installed and provide instructions on how to do it.
Copy link
Member

@ljharb ljharb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@ljharb ljharb merged commit 5fcec57 into nvm-sh:master Apr 15, 2021
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants