How do I install Chocolatey packages offline?

后端 未结 7 1585
误落风尘
误落风尘 2021-02-01 17:54

I am trying to automate to set up a developer machine software installation. Chocolatey is good to install packages when you connected to the Internet. Is there a way to install

7条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-02-01 18:35

    Put the installer in the cache directory:

    %TEMP%\chocolatey\\
    

    And do a force install:

    choco install -f 
    

    It worked fine on my version (v0.9.10.3).

提交回复
热议问题