As an IT Consultant I'm supposed to be working with several Operating Systems: Windows, Mac OS X and Linux (several flavors).
One of the things I like about Linux are the ease of using package managers like apt, yum, pacman, etc.
If your environment has the necessary requirements:
- Windows 7+ | Windows Server 2003+
- Powershell v2+
- .Net Framework 4+ (the installation will attempt to install if you don't have it)
then you can easily install Chocolatey by issueing the following command in PowerShell v3+ (Run as Administrator)
iwr https://chocolatey.org/install.ps1 -UseBasicParsing | iex
That's it! Now you can start using Chocolatey!
Install a package
You can install any of the Chocolatey Packages by issueing the
choco install command, e.g. to install docker:
choco install docker
Upgrading a package can be done by using the
choco upgrade command
e.g. to upgrade docker to the latest version:
choco upgrade docker
or, to save time, you can upgrade all installed packages with 1 command:
choco upgrade all