Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
pub:chocolatey [2021/11/08 07:30] – [win7/2008r2 prerequisites] derek | pub:chocolatey [2023/08/28 13:18] (current) – removed derek | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | == chocolatey | ||
- | * https:// | ||
- | |||
- | === win7/2008r2 prerequisites | ||
- | * SP1 - [https:// | ||
- | * dotNET4.8 - https:// | ||
- | * WMF5.1 https:// | ||
- | * [[update windows 7 2008r2 via command line]] | ||
- | |||
- | === 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 | ||
- | choco install choco-cleaner | ||
- | choco-cleaner | ||
- | |||
- | === use proxy | ||
- | choco config set proxy http:// | ||
- | choco config set proxyUser username | ||
- | choco config set proxyPassword password | ||