Skip to content

Instantly share code, notes, and snippets.

@simon-lang
Created May 22, 2019 06:22
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 simon-lang/bbc5fbdf62c8999af043e014bc26faf8 to your computer and use it in GitHub Desktop.
Save simon-lang/bbc5fbdf62c8999af043e014bc26faf8 to your computer and use it in GitHub Desktop.
Initial WSL setup

ssh

ssh-keygen
cat ~/.ssh/id_rsa.pub

git

curl -o ~/.gitconfig https://raw.githubusercontent.com/mathiasbynens/dotfiles/master/.gitconfig
git config --global user.email "simon.lang@lens.org"
git config --global user.name "Simon Lang"
git config --global core.editor "vim"
sudo apt install tig

node

curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt-get install -y nodejs
sudo apt install node
sudo apt-get install -y build-essential
npm -v
node -v
npm i -g yarn

java 1.8

sudo apt install openjdk-8-jdk
java -version
sudo apt install maven
mkdir ~/.m2
vim ~/.m2/settings.xml

mysql

sudo apt-get install mysql-server
mysql_secure_installation
sudo /etc/init.d/mysql start

utils

sudo apt install make
sudo apt install jq

aws

sudo apt install awscli
mkdir ~/.aws
vim ~/.aws/credentials

zsh. installation may require restart

sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment