Skip to content

Instantly share code, notes, and snippets.

@ppsreejith
Last active March 30, 2021 06:16
Show Gist options
  • Save ppsreejith/28aaad4d257b5021051ce2cbdaa09981 to your computer and use it in GitHub Desktop.
Save ppsreejith/28aaad4d257b5021051ce2cbdaa09981 to your computer and use it in GitHub Desktop.
Favourite tools
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
apt-get -y update
apt-get -y upgrade
apt-get -y install zsh emacs silversearcher-ag docker-ce htop nginx jq
if [ ! -f /usr/local/bin/docker-compose ]; then
echo "Installing docker compose"
VERSION=$(curl --silent https://api.github.com/repos/docker/compose/releases/latest | jq .name -r)
curl -L https://github.com/docker/compose/releases/download/${VERSION}/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
fi
git config --global user.email "[email protected]"
git config --global user.name "Sreejith Pp"
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