Skip to content

Instantly share code, notes, and snippets.

@jaalmaa
Created May 19, 2020 13:36
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 jaalmaa/c79300400582d11302b11417e64bbaf8 to your computer and use it in GitHub Desktop.
Save jaalmaa/c79300400582d11302b11417e64bbaf8 to your computer and use it in GitHub Desktop.
#!/bin/bash
# update packages and repositories
echo "Updating packages and repositories..."
sudo apt update -y
sudo apt upgrade -fy
# install curl
echo "Installing curl..."
sudo apt install -y curl
# install git
echo "Installing git..."
sudo apt install -y git
# install vim
echo "Installing vim..."
sudo apt install -y vim
# install google chrome
echo "Installing Google Chrome"
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo apt install ./google-chrome-stable_current_amd64.deb
# install VSCode
echo "Installing VSCode..."
sudo snap install --classic code
# install Node.js
echo "Installing Node.js"
curl -sL https://deb.nodesource.com/setup_12.x | bash -
sudo apt install -y nodejs
# install zsh and plugins
sudo apt install -y zsh
sudo apt install -y powerline fonts-powerline
git clone https://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
sed -i 's/robbyrussell/agnoster/g' ~/.zshrc
chsh -s /bin/zsh
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ~/.zsh-syntax-highlighting --depth=1
echo "source ~/.zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> ~/.zshrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment