Created: 2024-01-01 11:30:30
Status: #note/note
Recall:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
| nvm list available
nvm install 20.10.0 64
nvm use 20.10.0 64
node -v npm -v npm list -g
npm config set registry https://registry.npmmirror.com
npm config set registry http://mirrors.cloud.tencent.com/npm/
npm config set registry https://mirrors.huaweicloud.com/repository/npm/
npm config get registry
npm install -g cnpm --registry=https://registry.npmmirror.com
cnpm install xx
nvm install --lts nvm uninstall --lts nvm use --lts
{
"useTaobaoRegistry": true,
"packageManager": "yarn"
}
|
Summary:
See also
References