Skip to content

Instantly share code, notes, and snippets.

@yurireeis
Last active October 2, 2018 01:46
Show Gist options
  • Save yurireeis/53d87d143c7b716f1adfa19b2988da73 to your computer and use it in GitHub Desktop.
Save yurireeis/53d87d143c7b716f1adfa19b2988da73 to your computer and use it in GitHub Desktop.
vscode and git install (ubuntu and win)
# 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
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
# 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