安装node
2022-03-29 本文已影响0人
不进则退
安装nvm,用来管理node
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
判断nvm是否安装成功
command -v nvm
通过nvm安装node
nvm install node
to download the latest version of npm, on the command line, run the following command:
npm install -g npm