nodejs

PPG007 ... 2022-2-26 Less than 1 minute

# nodejs

# install nvm
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | zsh
# then restart shell session
# install latest nodejs
nvm install node
# config npm
npm config set registry http://registry.npmmirror.com
npm config set disturl http://npmmirror.com/dist
# install yarn
npm install --global yarn
# config yarn
yarn config set registry http://registry.npmmirror.com
yarn config set disturl http://npmmirror.com/dist
1
2
3
4
5
6
7
8
9
10
11
12
13
Last update: April 17, 2022 07:56
Contributors: ppg007 , zzl