方法一:在官方下载网站,下载 pkg 安装包,直接点击安装即可。✅
方法二:使用brew命令
brew install node
安装报错:
是有依赖安装失败,直接brew安装一下
brew install libuv # 再执行 brew install node