curl -sL https://rpm.nodesource.com/setup_10.x | bash - curl -sL https://dl.yarnpkg.com/rpm/yarn.repo | tee /etc/yum.repos.d/yarn.repo yum install -y nodejs yarn npm i -g pm2 typescript #pm2 startup pm2 install typescript