Last active
September 1, 2022 11:05
-
-
Save pradyumnac/9800d5936a3bc54e17807563b0ff0409 to your computer and use it in GitHub Desktop.
Install chocolatey from command prompt (Admin Shell)
This file contains 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
@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "[System.Net.ServicePointManager]::SecurityProtocol = 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin" | |
choco feature enable -n allowGlobalConfirmation |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment