Last active
October 18, 2019 12:38
-
-
Save hashrock/8b41ad11c561e7a47eb3 to your computer and use it in GitHub Desktop.
Provisioning
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
sudo apt update | |
sudo apt install build-essential | |
curl -kL git.io/nodebrew | perl - setup | |
echo 'export PATH=$HOME/.nodebrew/current/bin:$PATH' >> ~/.bash_profile | |
source ~/.bash_profile | |
nodebrew install-binary stable | |
nodebrew use stable | |
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - | |
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list | |
sudo apt-get install yarn |
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
sudo yum install -y git | |
git clone https://github.com/sstephenson/rbenv.git ~/.rbenv | |
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile | |
echo 'eval "$(rbenv init -)"' >> ~/.bash_profile | |
source ~/.bash_profile | |
sudo yum install -y gcc-c++ glibc-headers openssl-devel readline libyaml-devel readline-devel zlib zlib-devel | |
git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build | |
rbenv install 2.1.2 | |
rbenv global 2.1.2 | |
curl -kL git.io/nodebrew | perl - setup | |
echo 'export PATH=$HOME/.nodebrew/current/bin:$PATH' >> ~/.bash_profile | |
source ~/.bash_profile | |
nodebrew install-binary stable | |
nodebrew use stable |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment