0
点赞
收藏
分享

微信扫一扫

在manjaro平台安装前端开发环境

和谐幸福的人生 2022-02-01 阅读 52

npm

  • 安装
yay -S npm
  • 切换源
npm config set registry https://registry.npm.taobao.org/
  • 更新
sudo npm update npm -g

yarn

  • 安装
yay -S yarn
  • 切换源
yarn config set registry https://registry.npm.taobao.org/
  • 更新
sudo npm update yarn -g

node版本管理工具n

  • 安装
sudo npm i -g n
  • 更新node到最新稳定版
sudo n stable
  • 更新node到最新版本
sudo n latest
举报

相关推荐

0 条评论