Skip to content

chocolatey package manager

Chocolatey

Chocolatey is a package manager for Windows (like apt-get but for Windows). It was designed to be a decentralized framework for quickly installing applications and tools that you need. It is built on the NuGet infrastructure currently using PowerShell as its focus for delivering packages from the distros to your door, err computer.

Chocolatey is brought to you by the work and inspiration of the community, the work and thankless nights of the Chocolatey Team, with Rob heading up the direction.

You can host your own sources and add them to Chocolatey, you can extend Chocolatey’s capabilities, and folks, it’s only going to get better.

Commands

There are quite a few commands you can call – you should check out the command reference. Here are the most common:

  • Help – choco -? or choco command -?
  • Search – choco search something
  • List – choco list -lo
  • Config – choco config list
  • Install – choco install baretail
  • Pin – choco pin windirstat
  • Outdated – choco outdated
  • Upgrade – choco upgrade baretail
  • Uninstall – choco uninstall baretail

Alternative installation sources:

  • Install ruby gem – choco install compass -source ruby
  • Install python egg – choco install sphynx -source python
  • Install windows feature – choco install IIS -source windowsfeatures
  • Install webpi feature – choco install IIS7.5Express -source webpi

More

For more advanced commands and switches, use choco -? or choco command -h. You can also look at the command reference, including how you can force a package to install the x86 version of a package.

 

The following command will install chocolatey in a PowerShell session.

chocolatey package manager installed.

searching for packages.

installing packages.

Registering programs in environment path with PowerShell

Now the program can be executed with a single command.

 

 

Published inPowershell

Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *