I code, therefore I am.

Use NVM in Macs with M1 chip

October 10, 2022

较低版本的 Node,比如 v12 与 v14,会报:

bad CPU type in executable: node

此时只要执行:

softwareupdate --install-rosetta

即可。