Skip to content

Instantly share code, notes, and snippets.

@boxpositron
Last active July 13, 2020 02:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save boxpositron/da413012018411d3774050f58df6a369 to your computer and use it in GitHub Desktop.
Save boxpositron/da413012018411d3774050f58df6a369 to your computer and use it in GitHub Desktop.
sudo yum update -y
sudo yum install epel-release -y
sudo yum install git -y
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash
curl -sL https://rpm.nodesource.com/setup_10.x | sudo bash -
sudo yum install gcc-c++ make -y
sudo yum install nodejs -y
curl -sL https://dl.yarnpkg.com/rpm/yarn.repo | sudo tee /etc/yum.repos.d/yarn.repo
sudo yum install yarn -y
sudo amazon-linux-extras install epel -y
sudo npm install pm2@latest -g
pm2 install pm2-logrotate
pm2 startup
source ~/.bash_profile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment