Skip to content

Instantly share code, notes, and snippets.

@Sy3Omda
Created August 3, 2024 17:08
Show Gist options
  • Save Sy3Omda/357039148fd7b23bd71ee1d79c254641 to your computer and use it in GitHub Desktop.
Save Sy3Omda/357039148fd7b23bd71ee1d79c254641 to your computer and use it in GitHub Desktop.
Official Installation of chocolatey package by cmd
@"%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"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment