Skip to content

Instantly share code, notes, and snippets.

@shawngmc
Last active February 9, 2019 05:51
Show Gist options
  • Save shawngmc/df2998136597135d9cff18b060908ecb to your computer and use it in GitHub Desktop.
Save shawngmc/df2998136597135d9cff18b060908ecb to your computer and use it in GitHub Desktop.
Setup Script for a decent Crostini web dev env
# Update Clock
# https://www.reddit.com/r/Crostini/wiki/getstarted/bootstrapping-a-container
sudo dpkg-reconfigure tzdata
# Update package list
sudo apt-get update -y
sudo apt-get upgrade -y
# Install 'command-not-found' support
# https://www.reddit.com/r/Crostini/wiki/howto/install-command-not-found
sudo apt install command-not-found -y
sudo apt update -y
sudo update-command-not-found
# Install VS Code
https://www.reddit.com/r/Crostini/wiki/howto/install-vscode
curl -L "https://go.microsoft.com/fwlink/?LinkID=760868" > vscode.deb
sudo apt install ./vscode.deb
# Swap with nvm
wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash
nvm install 11
# Install rvm - ruby version manager, inc rails
# DO NOT RUN AS SUDO
gpg --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
curl -sSL https://get.rvm.io | bash -s stable --rails
# Install preferred node-based tools
npm install -g swagger-node-codegen
npm install -g forever
npm install -g @angular/cli
npm install -g @vue/cli
sudo apt-get install git-flow -y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment