, , , , ,

[UPDATE: 29-Dec-2013] Thanks to the comment by dataCore, I have added an even shorter version of the command to this post.

This post will be short and sweet. I have found myself constantly forgetting how to list all the Chocolatey packages I have installed on a machine and find myself, once again, searching the web for the answer. The command is really quite simple (and obvious) and I’m not sure why I can’t seem to remember it. ¬†Anyway, here it is in all its glory!

chocolatey list -localonly


chocolatey list -lo

or (even shorter, thanks to dataCore for this option in the comments)

clist -lo

I found the answer on the chocolatey github repo:

A final note: If you work in a Windows environment and haven’t heard of or used Chocolatey you should really check it out. It allows you to install common windows programs via the command line. This of course means you can automate! I’m currently working on a script to automate the set-up of a new developer machine and Chocolatey is a key ingredient. I plan to blog on my solution once it is ironed out.