npm基本操作

查看所有配置  npm config list
列表形式:$ npm config list -l
json格式:$ npm config list --json

npm config list
npm config list -l
npm config list --json
 
npm config edit 
  • i
  • esc
  • :q
  • :w
 
npm config set https_proxy="test"
npm config set https_proxy=""
npm config get https_proxy
npm config delete  https_proxy
npm install 
npm update
 
posted @ 2020-03-27 16:19  一波王炸  阅读(269)  评论(0)    收藏  举报