Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

install yarn on centos

#You mush have nodejs installed first
curl -sL https://dl.yarnpkg.com/rpm/yarn.repo -o /etc/yum.repos.d/yarn.repo
sudo yum -y install yarn

#Install nodejs
curl --silent --location https://rpm.nodesource.com/setup_16.x | bash -
yum -y install nodejs
 
PREVIOUS NEXT
Tagged: #install #yarn #centos
ADD COMMENT
Topic
Name
2+7 =