macOS M1 安装npm

1.安装brew

  /bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)" 按提示即可

2.安装node

  brew install node

3.更新npm

  npm install npm -g

posted @ 2022-01-28 11:07  Carol淋  阅读(884)  评论(0编辑  收藏  举报