Skip to content

CentOS 安装 Yarn

Published: at 07:08 AMSuggest Changes

直接命令行登录远程服务器

curl --silent --location https://dl.yarnpkg.com/rpm/yarn.repo | sudo tee /etc/yum.repos.d/yarn.repo
sudo rpm --import https://dl.yarnpkg.com/rpm/pubkey.gpg
sudo yum install yarn

Previous Post
Linux 使用 sshpass 直接密码登录
Next Post
Mac 安装 Jenkins