Difference between revisions of "Chocolatey"
From Hack Sphere Labs Wiki
(Created page with "=Install= Administrative cmd.exe @powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1')...") |
|||
Line 19: | Line 19: | ||
=Upgrade Chocolatey= | =Upgrade Chocolatey= | ||
choco upgrade chocolatey | choco upgrade chocolatey | ||
+ | |||
+ | =Packages= | ||
+ | choco new -h | ||
+ | |||
+ | choco pack -h |
Revision as of 13:30, 19 August 2015
Contents
Install
Administrative cmd.exe
@powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin
Creating Repos
Cifs/Samba
You just have to put .nupkg files in the dir, Chocolatey will parse through them.
Adding Sources
choco source add -name host -source \\host\path\choco\
General Commands
choco upgrade
Allow Global Confirmation
choco feature enable -n allowGlobalConfirmation choco feature disable -n allowGlobalConfirmation
Upgrade Chocolatey
choco upgrade chocolatey
Packages
choco new -h
choco pack -h