Centos安装yarn
前提:
用jenkins构建时,发现一直出错;于是换了另外一台虚拟机去操作,因为换的虚拟机没有yarn,所以需手动安装
步骤:
1 yum install -y npm bzip2
## 升级node到最新版 npm install -g n n latest 2 安装yarn curl --silent --location https://dl.yarnpkg.com/rpm/yarn.repo | sudo tee /etc/yum.repos.d/yarn.repo yum install -y yarn
相关推荐
yegen00 2020-10-21
Notzuonotdied 2020-09-17
hline 2020-07-29
tomli 2020-07-26
xieting 2020-07-04
YarnSup 2020-06-28
flyingbird 2020-06-14
Notzuonotdied 2020-06-13
xieting 2020-05-29
tomli 2020-05-27
xieting 2020-05-26
tomli 2020-05-25
tomli 2020-05-11