全局依賴的管理

一、查看全局安裝的依賴express

npm ls -g --depth -0

二、查看安裝的全部依賴npm

npm ls -g

三、安裝npmless

sudo npm -i -g npm

四、npm 安裝的須要更新版本的依賴code

npm -g outdated

五、更新須要安裝的yarn express lessclass

sudo npm i -g yarn express less
相關文章
相關標籤/搜索