Skip to content

Instantly share code, notes, and snippets.

@wormeyman
Forked from ckunte/pin.sh
Last active July 17, 2019 18:50
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 wormeyman/3be8fa7243ca9afa73cb to your computer and use it in GitHub Desktop.
Save wormeyman/3be8fa7243ca9afa73cb to your computer and use it in GitHub Desktop.
#!/usr/bin/env sh
#You may need to enable the Universe Repository
# Last updated 2019-07-17 11:47:49
echo "******************************************************************"
echo "Tools for Ubuntu WSL"
echo "******************************************************************"
echo "Adding Git PPA"
echo "******************************************************************"
sudo add-apt-repository -y ppa:git-core/ppa
echo "******************************************************************"
echo "Adding Node.js V12 LTS PPA"
echo "******************************************************************"
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
echo "******************************************************************"
echo "Installing Node.js"
echo "******************************************************************"
sudo apt install -y nodejs
echo "******************************************************************"
echo "Installing build essential as recommended by Node.js"
echo "******************************************************************"
sudo apt install -y build-essential
echo "******************************************************************"
echo "Update list of apps"
echo "******************************************************************"
sudo apt update
echo "******************************************************************"
echo "Installing all my favorite applications"
echo "******************************************************************"
sudo apt -y install python-pip git zsh nano curl wget htop ubuntu-wsl
echo "******************************************************************"
echo "******************************************************************"
echo "Adding Nano Syntax Highlighting"
echo "******************************************************************"
cd ~/
git clone https://github.com/YSakhno/nanorc.git
cd nanorc/
echo "******************************************************************"
echo "Making the config"
echo "******************************************************************"
make install
echo "include ~/.nano/syntax/ALL.nanorc" >> ~/.nanorc
cd ~/
echo "******************************************************************"
echo "Configuring global git username"
echo "******************************************************************"
git config --global user.name "Eric J"
echo "******************************************************************"
echo "Almost All done. Be sure to configure the following:"
echo "git config --global user.email \"Your email\""
echo "Oh My ZSH will close the script, Don't Forget ^^^"
echo "******************************************************************"
echo "Installing oh-my-zsh"
echo "******************************************************************"
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
echo "******************************************************************"
exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment