| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!

View
 

Chocolatey

Page history last edited by matthew 4 years, 2 months ago

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 

 

Example: Searching remote packages


choco search <PACKAGE_NAME>

 

Example: Installing a package


choco install <PACKAGE_NAME>

 

Example: Removing a package


choco uninstall <PACKAGE_NAME>

 

Example: Adjusting preferences


choco config set --name commandExecutionTimeoutSeconds --value 25000

 

Example: Setting Execution Policies


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.