Last active
October 2, 2018 01:46
-
-
Save yurireeis/53d87d143c7b716f1adfa19b2988da73 to your computer and use it in GitHub Desktop.
vscode and git install (ubuntu and win)
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
| # setup with powershell | |
| $client = new-object System.Net.WebClient | |
| $client.DownloadFile("https://github.com/git-for-windows/git/releases/download/v2.19.0.windows.1/Git-2.19.0-64-bit.exe","git.exe") | |
| # install | |
| $pathvargs = {c:\Users\Aluno\git.exe } | |
| Invoke-Command -ScriptBlock $pathvargs |
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
| rm /var/lib/apt/lists/lock && apt update -y && apt-get install -y git snapd snapd-xdg-open && apt-get update -y && snap install --classic vscode |
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
| # setup with powershell | |
| $client = new-object System.Net.WebClient | |
| $client.DownloadFile("https://az764295.vo.msecnd.net/stable/f46c4c469d6e6d8c46f268d1553c5dc4b475840f/VSCodeUserSetup-x64-1.27.2.exe","vscode.exe") | |
| # install | |
| $pathvargs = {c:\Users\Aluno\vscode.exe /S /v/qn } | |
| Invoke-Command -ScriptBlock $pathvargs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment