Created
January 13, 2019 19:45
-
-
Save dariusz-wozniak/5a5f2de8709df66eb160bc4f45d173f8 to your computer and use it in GitHub Desktop.
π« Chocolatey setup on any machine
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
Write-Host "### Installing Chocolatey" | |
if (-Not (Test-Path "$env:chocolateyInstall")) | |
{ | |
iwr https://chocolatey.org/install.ps1 -UseBasicParsing | iex | |
} | |
Write-Host "### Configuring Chocolatey" | |
choco upgrade all | |
choco feature enable -n=allowGlobalConfirmation | |
choco feature enable -n=allowEmptyChecksums | |
Write-Host "### Installing apps" | |
choco install powershell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment