Member-only story
Two Small Chocolatey Tricks That Can Make A Big Difference
Oh no, not chocolate, but “Chocolatey”, the command-line package manager for Windows.
It’s been more than a decade since Chocolatey was released, and now many enterprises use it to handle software on their Windows workloads.
When you are just getting started with Chocolatey, it is actually pretty straightforward. You grab the install.ps1
script from Chocolatey.org, run it from an elevated prompt, and choco
command-line interface (CLI) utility is installed on your local machine.
Then you scatter the packages' library to find the package (or software) you need and either do:
chocolatey install <packageName>
— To install the packagechoco upgrade <packageName>
— To upgrade the packagechoco uninstall <packageName>
— To uninstall the package
… and you are ready to go.
Even though that sounds pretty cool already, there might always be some rough edges or you want to create something custom yourself, for me, there have been two tricks that never get old when working with Chocolatey.
Let’s get into them.