在manjaro平台安装前端开发环境
作者:互联网
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
标签:npm,manjaro,node,sudo,yarn,registry,安装,前端开发 来源: https://blog.csdn.net/m0_47670683/article/details/122763446