chocolateyclist

Chocolatey list without version?


What is the secret flag to use for listing all Chocolatey install packages WITHOUT version (only package names) ? :)

choco list -l

Chocolatey v0.10.15 7zip 19.0 androidstudio 3.5.3.0

choco list -l 'secret flag ?'

Chocolatey 7zip androidstudio


Solution

  • There isn't a secret flag to enable this.

    Part of the value of a package manager is to know what package is installed, and also what version of the package is installed.

    You could run the command:

    choco list -l -r
    

    Which would output the information in a slightly different format, including a | to separate the package name and version, which you could then parse separately and get only the package names.