Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| pub:chocolatey [2022/02/17 21:31] – derek | pub:chocolatey [2023/08/28 13:18] (current) – removed derek | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ==== chocolatey ==== | ||
| - | * https:// | ||
| - | |||
| - | === win7/2008r2 prerequisites === | ||
| - | * pwsh core not supported yet | ||
| - | * [[windows 7]] requirements | ||
| - | |||
| - | === cmd-admin === | ||
| - | * Win-R -> '' | ||
| - | |||
| - | @" | ||
| - | |||
| - | === powershell-admin === | ||
| - | * Win-R -> '' | ||
| - | |||
| - | Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]:: | ||
| - | |||
| - | === config chocolatey === | ||
| - | |||
| - | choco feature enable -n allowGlobalConfirmation | ||
| - | choco feature enable -n useRememberedArgumentsForUpgrades | ||
| - | |||
| - | === install === | ||
| - | |||
| - | <code dos> | ||
| - | choco install 7zip.commandline wget curl aria2 sudo which | ||
| - | |||
| - | choco install wget --ignore-checksums | ||
| - | choco list -lo # list locally installed packages | ||
| - | choco outdated | ||
| - | </ | ||
| - | |||
| - | === uninstall === | ||
| - | choco uninstall < | ||
| - | choco uninstall < | ||
| - | choco uninstall < | ||
| - | |||
| - | === upgrade === | ||
| - | |||
| - | choco upgrade chocolatey | ||
| - | choco upgrade all ## upgrade all | ||
| - | choco upgrade wget ## upgrade single package | ||
| - | |||
| - | === pin === | ||
| - | |||
| - | choco pin | ||
| - | choco pin list | ||
| - | choco pin add -n=git | ||
| - | choco pin add -n=git --version 1.2.3 | ||
| - | choco pin remove --name git | ||
| - | |||
| - | |||
| - | === clean up === | ||
| - | * this will clean up the buggy '' | ||
| - | |||
| - | choco install choco-cleaner --params "'/ | ||
| - | choco-cleaner | ||
| - | |||
| - | === use proxy == | ||
| - | |||
| - | choco config set proxy http:// | ||
| - | choco config set proxyUser username | ||
| - | choco config set proxyPassword password | ||