nodejs基礎-nvm和npm

nvmnpm

 

npmjson

  更新ui

  npm install npm@latest -git

  本地安裝io

  npm install 包名稱 test

  require(」包名「)require

  全局安裝下載

  npm install 包名 -g 能夠直接做爲命令來使用數據

模塊mudules和packages包nvm

package.json:包元數據

  npm init   

  npm init -y 

  npm init -yes

package-lock.json(yarn):加快安裝速度

先下載一個,纔會有,json有依賴包安裝路徑,下載快

相關文章
相關標籤/搜索