139

Probably a simple question, but how do I get Chocolatey to list which packages are currently installed on my system?

When googling, I end up at the question below. It is related but slightly different, and it doesn't have a simple answer to my question.

Is there a way to list chocolatey packages with their install directory

Grilse
  • 3,435
  • 3
  • 17
  • 14
  • Packages are installed in `C:\ProgramData\chocolatey\lib` (or in `$env:ChocolateyInstall`). See what is in there. – mihca Aug 05 '22 at 09:08

2 Answers2

160
choco list --local-only

Or:

clist -l

Source: https://chocolatey.org/docs/commands-list

This list all packages that are currently installed on your local machine, with version numbers.

λ  choco list --local-only
Chocolatey v0.10.8
7zip.commandline 16.02.0.20170209
(...)
41 packages installed.
Grilse
  • 3,435
  • 3
  • 17
  • 14
  • If this pops up another command window which then disappears, run your initial cmd/PowerShell window as Administrator. – TrueWill Aug 06 '18 at 14:08
  • 4
    `clist` will be deprecated in v2, and `--local-only` can also be invoked with `--localonly` or simply `-l`. – André Levy Apr 08 '22 at 02:22
  • 1
    As mentioned, the `clist` is being deprecated, and further, `choco list` is changing to only list the currently installed packages, therefore, going forward, the `--local-only` option is not required. I have updated my answer below with information on the `choco export` command, which may also be useful. – Gary Ewan Park Apr 04 '23 at 06:34
  • It's now removed. – Waldemar Wosiński Aug 16 '23 at 08:10
52

UPDATE:

Starting with version 0.11.0 of Chocolatey CLI, there is now a choco export command, which allows the creation of a packages.config file, which includes a list of all the currently installed packages on teh machine.

Details on this command can be found here:

https://docs.chocolatey.org/en-us/choco/commands/export

After executing this command, and generating the file, you can then do the following on another machine, which would allow on packages to be installed there:

choco install <path_to_generated_file>

ORIGINAL ANSWER:

Another alternative would be to install the official Chocolatey GUI application. This includes a tab which shows all the currently installed applications in your machine.

To install it, simply do:

choco install chocolateygui

The GitHub Repository for Chocolatey GUI can be found here:

https://github.com/chocolatey/ChocolateyGUI

And a screenshot of the UI can be seen here:

Chocolatey GUI Application Loaded

Gary Ewan Park
  • 1,860
  • 16
  • 14