Skip to content

Instantly share code, notes, and snippets.

@lettergram
Last active November 3, 2019 05:35
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 lettergram/23b08cca6e6963ac0f6db4005422f581 to your computer and use it in GitHub Desktop.
Save lettergram/23b08cca6e6963ac0f6db4005422f581 to your computer and use it in GitHub Desktop.
Upgrade NodeJS on ElasticBeanstalk
commands:
01_install_yarn:
command: "sudo wget https://dl.yarnpkg.com/rpm/yarn.repo -O /etc/yum.repos.d/yarn.repo && curl --silent --location https://rpm.nodesource.com/setup_6.x | sudo bash - && sudo yum install yarn -y"
02_download_nodejs:
command: curl --silent --location https://rpm.nodesource.com/setup_8.x | sudo bash -
03_install_nodejs:
command: yum -y install nodejs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment