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

阅读 52

2022-02-01

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)

0 0 举报