Skip to content

Instantly share code, notes, and snippets.

@emitrix
Last active July 11, 2018 21:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save emitrix/2cd7a587bc0b5598ee115bf414b63ad3 to your computer and use it in GitHub Desktop.
Save emitrix/2cd7a587bc0b5598ee115bf414b63ad3 to your computer and use it in GitHub Desktop.
readme for choco install

Chocolatey-logo

Chocolatey install scripts

Chocolatey is a package manager for windows, allowing you to install apps with a single command. This is how you install git using chocolatey: choco install git

See github repo

Usage

First install Chocolatey using cmd

@powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin

Then download and run the choco script

@powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString('https://gist.githubusercontent.com/emitrix/2b96b3c580e2fcfdf475918ea33d9da2/raw/a98e3c5edadbd0ee31ab7bd8df41910382ed6918/choco-install-apps.ps1'))"

Also can be downloaded and make the updates needed, just execute -File "PATh"

@powershell -NoProfile -ExecutionPolicy Bypass -file "choco-install-apps.ps1"

Documentation

Please see the wiki

Give choco.exe /? a shot (or choco.exe -h). For specific commands, add the command and then the help switch e.g. choco.exe install -h.

Requirements

  • .NET Framework 4.0
  • PowerShell 2.0+

More information

Check out Chocolatey's homepage or this github repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment