Created
September 1, 2018 14:04
-
-
Save parasquid/4d872d72996dcc2b2265220be7b118af to your computer and use it in GitHub Desktop.
For WSL
This file contains hidden or 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
GNU nano 2.9.3 provision.sh Modified | |
#!/bin/bash | |
# initialize sudo | |
sudo echo | |
# update and install base packages | |
sudo apt update | |
sudo apt -y upgrade | |
sudo apt install -y git curl build-essential bundler patch ruby-dev \ | |
zlib1g-dev liblzma-dev youtube-dl htop \ | |
whois aria2 python-pip \ | |
asciinema s3cmd libxml2-dev libxslt1-dev \ | |
autoconf automake bison libgdbm-dev libncurses5-dev libsqlite3-dev libtool libyaml-dev \ | |
sqlite3 libreadline-dev libpq-dev \ | |
tilix screenkey fonts-font-awesome \ | |
imagemagick fonts-inconsolata inxi | |
# yarn | |
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 update && sudo apt-get install yarn | |
sudo apt install -y npm nodejs | |
# increase inode limits for vscode | |
echo "fs.inotify.max_user_watches=524288" | sudo tee -a /etc/sysctl.conf | |
sudo sysctl -p | |
# blog tools | |
sudo snap install hugo | |
npm install --global surge | |
npm install netlify-cli -g | |
# vue | |
npm install -g @vue/cli | |
npm install -g @vue/cli-service-global | |
# local bin files | |
mkdir ~/.bin | |
echo 'export PATH="$PATH:$HOME/bin"' >> ~/.bashrc | |
# various tools | |
sudo -H pip install --upgrade youtube-dl | |
sudo snap install go --classic | |
sudo -H pip install s-tui |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment