How to get a list of packages from one machine and install in another with Chocolatey?

前端 未结 6 2035
迷失自我
迷失自我 2021-01-31 08:23

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

6条回答
  •  星月不相逢
    2021-01-31 09:05

    Chocolatey doesn't provide that command. The question (plus additional requirements you mentioned) can only be answered with an ETL solution. There's no command to accomplish this proposal.

    A .ps1 script would work fine.

    That being said, by removing the version, you'll be jumping some packages to the latest published version on the target server. If you need a clone of the installs, you'll need to consume the versions as well.

提交回复
热议问题