- Install rosetta2
- Install NVM using instructions here
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash
- Add the stuff from the above command to zshrc to initialize nvm
- Go to x86 shell by
arch -x86_64 zsh
- Install lts node using nvm in the intel shell:
nvm install --lts
- Enjoy node in all shells (x86 or arm)
Last active
June 11, 2021 11:30
-
-
Save chsasank/486d53f8d2a867fbae9478b947f12398 to your computer and use it in GitHub Desktop.
Install NVM and node in MBA M1 without building
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment