Created
December 18, 2018 14:37
-
-
Save gerardolima/a50e0aa6f1ea08ce2144a3dbf9bb2fcd to your computer and use it in GitHub Desktop.
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
| #!/bin/bash | |
| set $GIT_USER_NAME = "yout-user-name-here" | |
| set $GIT_USER_EMAIL = "your-email-here" | |
| # minimal | |
| # ------- | |
| sudo apt-get install neovim curl | |
| # vscode - https://code.visualstudio.com/docs/setup/linux | |
| # ------ | |
| curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg | |
| sudo install -o root -g root -m 644 microsoft.gpg /etc/apt/trusted.gpg.d/ | |
| sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list' | |
| sudo apt-get install apt-transport-https | |
| sudo apt-get update | |
| sudo apt-get install code | |
| # git - https://git-scm.com/download/linux | |
| # ---- | |
| sudo apt-get install git | |
| git config --global user.name $GIT_USER_NAME | |
| git config --global user.email $GIT_USER_EMAIL | |
| # ssh-key - https://help.github.com/articles/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent/ | |
| # ------- | |
| ssh-keygen -t rsa -b 4096 -C $GIT_USER_EMAIL | |
| eval "$(ssh-agent -s)" | |
| ssh-add ~/.ssh/id_rsa |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment