Skip to content

Instantly share code, notes, and snippets.

@jvegaf
Last active August 20, 2020 20:18
Show Gist options
  • Save jvegaf/66c8295bef6a21db10e5a090d36d7a63 to your computer and use it in GitHub Desktop.
Save jvegaf/66c8295bef6a21db10e5a090d36d7a63 to your computer and use it in GitHub Desktop.
Environment setup on Linux Mint 20
#!/bin/bash
sudo rm /etc/apt/preferences.d/nosnap.pref
sudo apt update
sudo apt upgrade -y
sudo apt-get install -y php7.4-{cli,xml,bcmath,bz2,intl,gd,mbstring,mysql,zip}
sudo apt-get -y install inkscape transmission git zsh
sudo apt-get -y install filezilla neovim vlc snapd gedit build-essential
sudo apt-get -y install htop screenfetch openjdk-11-jdk composer snapd
sudo apt-get -y install wget docker.io docker-compose curl
sudo apt-get -y install usb-creator-gtk
sudo systemctl start docker
sudo systemctl enable docker
sudo usermod -aG docker $USER
#docker-clean
curl -s https://raw.githubusercontent.com/ZZROTDesign/docker-clean/v2.0.4/docker-clean |
sudo tee /usr/local/bin/docker-clean > /dev/null && \
sudo chmod +x /usr/local/bin/docker-clean
#nodejs
curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
curl -sL 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 -y nodejs yarn
#gitKraken
wget https://release.gitkraken.com/linux/gitkraken-amd64.deb
sudo dpkg -i gitkraken-amd64.deb
sudo apt install --fix-broken -y
rm -rf gitkraken-amd64.deb
#Github Desktop
wget https://github.com/shiftkey/desktop/releases/download/release-2.5.0-linux2/GitHubDesktop-linux-2.5.0-linux2.deb
sudo dpkg -i GitHubDesktop-linux-2.5.0-linux2.deb
sudo apt install --fix-broken -y
rm -rf GitHubDesktop-linux-2.5.0-linux2.deb
wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh
chsh -s `which zsh`
sudo apt-get -y install tlp tlp-rdw
sudo tlp start
sudo snap install intellij-idea-ultimate --classic
sudo snap install phpstorm --classic
sudo snap install code --classic
export PATH="$PATH:/snap/bin"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment