Last active
January 8, 2019 09:29
-
-
Save Laffs2k5/c83882f7a186562192bc7ebee52069ba to your computer and use it in GitHub Desktop.
Get-Chocolatey.ps1
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
# Chocolatey Non-Administrative install | |
$InstallDir='C:\ProgramData\chocoportable' | |
$env:ChocolateyInstall="$InstallDir" | |
Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Bypass | |
# All install options - offline, proxy, etc at https://chocolatey.org/install | |
Invoke-Expression ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) | |
# Portable git install | |
choco install git.portable | |
# Chocolatey Administrative install | |
Set-ExecutionPolicy Bypass -Scope Process -Force | |
Invoke-Expression ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment