Skip to content

Instantly share code, notes, and snippets.

@leonardokl
Last active May 28, 2019 13:18
Show Gist options
  • Save leonardokl/10d7af27814eeb2cec5ef160d1bcdcc3 to your computer and use it in GitHub Desktop.
Save leonardokl/10d7af27814eeb2cec5ef160d1bcdcc3 to your computer and use it in GitHub Desktop.
install.sh
#!/usr/bin/env bash
sudo apt-get update
sudo apt-get install git \
apt-transport-https \
ca-certificates \
curl \
software-properties-common \
ssh-keygen
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash
source ~/.bashrc
nvm install lts/dubnium
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable"
sudo apt-get update
sudo apt-get install docker-ce
sudo usermod -aG docker ${USER}
su - ${USER}
echo "Configure o seu usuário do GIT através dos comandos:"
echo 'git config --global user.name "SEU NOME"'
echo 'git config --global user.email "SEU EMAIL"'
@leonardokl
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment