简体   繁体   中英

Install node version 16 on M1 Apple mac

For new Apple M1 silicon mac-books, how can we install node on processor x86_64 arch .

According to node.js download page, they don't provide the mac installer for x86_64 processors. Please refer the download page - https://nodejs.org/en/download .

Note: Node Mac Installer only support ARM64 processor.

I have tried Rosetta terminal options, but not able to install node@16 with x86_64 arch on M1 mac machine. Please provide any suggestions to solve this problem.

You can do brew install node@16 , but it requires some PATH environment variable hacks.

I'd recommend nvm or asdf plus nodejs plugin

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM