Calling clist -l
gives me a list of packages with versions:
7zip.install 16.04
ccleaner 5.28.6005
ConEmu 17.3.16.0
...
How do I ge
This was my poor-man's solution to the same problem, i.e. take all the Chocolatey packages on one machine and install them on another, without worrying about specific versions (i.e. I want the latest versions).
version="X.Y.Z"
fields from each
line.choco install \\mypc\shared\packages.config -y
.For example, my edited packages.config file looks like this:
PS.: Don't make the same mistake I did: I used a simple regular expression in Notepad++ to delete all the version="1.1.1"
entries and inadvertently removed the same field from the first line. This breaks the XML file. Be more careful/clever than me!