yum install -y npm bzip2
## 升级node到最新版
npm install -g n
n latest
## 安装yarn
curl --silent --location https://dl.yarnpkg.com/rpm/yarn.repo | sudo tee /etc/yum.repos.d/yarn.repo
yum install -y yarn
centos安装yarn
猜你喜欢
转载自www.cnblogs.com/gelu/p/9565377.html
今日推荐
周排行