Last active
November 28, 2018 00:53
-
-
Save ben196888/14b32bc1718b6246e85adc7fd2b00ebc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -euo pipefail | |
# Install nodejs and npm | |
curl --silent --location https://rpm.nodesource.com/setup_8.x | sudo bash - | |
sudo yum install -y -q nodejs | |
# Install yarn | |
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 -y -q yarn |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment