centos安装yarn

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




posted @ 2018-08-31 13:43  犀利瓜  阅读(14266)  评论(0编辑  收藏  举报