Skip to content

Instantly share code, notes, and snippets.

@garricknorthover
Last active October 26, 2019 23:02
Show Gist options
  • Save garricknorthover/0c2377e15bbdd71c22dedc33fa12e625 to your computer and use it in GitHub Desktop.
Save garricknorthover/0c2377e15bbdd71c22dedc33fa12e625 to your computer and use it in GitHub Desktop.
sudo apt install zsh curl git build-essential libssl-dev ubuntu-restricted-extras gnome-tweak-tool chrome-gnome-shell
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.0/install.sh | zsh
nvm install node
git config --global user.name garricknorthover
git config --global user.email garricknorthover@gmail.com
ssh-keygen
cat ~/.ssh/id_rsa.pub
sudo apt-get install -y libreadline-dev zlib1g-dev libsqlite3-dev
git clone https://github.com/rbenv/rbenv.git ~/.rbenv
cd ~/.rbenv && src/configure && make -C src
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.zshrc
source ~/.zshrc
mkdir -p "$(rbenv root)"/plugins
git clone https://github.com/rbenv/ruby-build.git "$(rbenv root)"/plugins/ruby-build
rbenv init
echo 'eval "$(rbenv init -)"' >> ~/.zshrc
rbenv install 2.6.5
rbenv global 2.6.5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment