Chocolatey
- How do I make PowerShell run as administrator start in my home directory? here
- How to open Command Prompt in a specific folder as Administrator? here
- Run Windows Terminal as Administrator by default here
- MSIX installer doesn't install PowerShell on Windows 10 here
- How to print Environment Variables in PowerShell here
- My installed programs as of 28 May 2019 here (choco list --local-only > choco.installed.txt)
Example: Listing locally installed packages
choco list --local-only
choco search <PACKAGE_NAME>
Example: Installing a package
choco install <PACKAGE_NAME>
Example: Removing a package
choco uninstall <PACKAGE_NAME>
choco config set --name commandExecutionTimeoutSeconds --value 25000
Set-ExecutionPolicy -ExecutionPolicy Unrestricted
Example: If the Checksum fails and you need to manually pass it
choco install <PACKAGE_NAME> --download-checksum=85caa9ea0bb91da273e4d02b5f0a1c1736cc7314c4f2c839882339cc69ddaf10
Example: Searching for a package and printing the details for it
choco search --exact -v <PACKAGE_NAME>
Example: Accept scripts without having to confirm them (-y)
choco feature enable -n=allowGlobalConfirmation
Example: Force install of program (-f)
choco install -f irfanview irfanviewplugins
Comments (0)
You don't have permission to comment on this page.