npm
全局配置
powershell
npm config set registry https://registry.npm.taobao.org
npm config delete registry初始化
powershell
npm init
npm init -y安装/卸载
powershell
npm i
npm install -D
npm i -g
npm un
npm uninstall -g发布
powershell
#Login in npm
npm login
#Publish your package
npm publish --access public查看包版本
powershell
npm view package versions
npm list --depth 0
npm list -g --depth 0清空缓存
powershell
npm cache clean --force