chocolatey

How do I install Chocolatey packages offline?

心已入冬 提交于 2019-12-03 06:57:58
问题 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 packages offline? I just want to put all the packages in a shared network folder and use that packages to install. If you have an internal application, how do you convert them into a Chocolatey package? 回答1: Caching Downloads - Not Deterministic While there are ways to set the original nupkg (with the version on it,

How do I set Chocolatey to install applications onto another drive?

独自空忆成欢 提交于 2019-12-03 06:30:59
问题 I've installed Chocolatey, but I would like it to install programs to another drive instead of C. C is only a small SSD, but I have other drives where I usually install programs to. Any ideas? 回答1: Chocolatey FOSS For each application, you would need to know its command line switch used during installation to change its installation directory and pass it using --installArgs . See Install Command (choco install) and Overriding default install directory or other advanced install concepts .

How do I set Chocolatey to install applications onto another drive?

帅比萌擦擦* 提交于 2019-12-02 20:10:47
I've installed Chocolatey, but I would like it to install programs to another drive instead of C. C is only a small SSD, but I have other drives where I usually install programs to. Any ideas? ferventcoder Chocolatey FOSS For each application, you would need to know its command line switch used during installation to change its installation directory and pass it using --installArgs . See Install Command (choco install) and Overriding default install directory or other advanced install concepts . Another way to ensure a different drive is to relocate your Program Files to a different drive. You

Uninstall Chocolatey package

眉间皱痕 提交于 2019-11-30 04:39:54
The Chocolatey package manager supports silent installations via the command below. It doesn't seem to have an uninstall command. cinst install packagename Is there a way to uninstall an application via Chocolatey? xuhdev As I answered here , you can use cuninst packagename to uninstall a package. Details can be found at Uninstall Command . Edit: For new versions, should use choco uninstall packagename . Matt Update : Chocolatey now has primitive support for uninstall through 'cuninst packagename'. With that though the package authors need to provide a chocolateyUninstall.ps1 file that would

How do I update all Chocolatey applications without confirmation?

狂风中的少年 提交于 2019-11-29 22:04:38
I used to be able to call cup all and have my applications update. Now, it asks for yes to ensure that I want to install the selected package. Is there a way I can have everything auto update without constantly typing yes for every update? tl;dr - Yes, completely possible. Use cup all -y Also check out the help menus now - choco -h , choco install -h Longer answer, we've moved a little closer towards other package managers for security reasons, where by default we stop and confirm if you are okay with the state change. I always communicate changes in the release notes / changelog , which also

Uninstall Chocolatey package

怎甘沉沦 提交于 2019-11-29 02:06:43
问题 The Chocolatey package manager supports silent installations via the command below. It doesn't seem to have an uninstall command. cinst install packagename Is there a way to uninstall an application via Chocolatey? 回答1: As I answered here, you can use cuninst packagename to uninstall a package. Details can be found at Uninstall Command. Edit: For new versions, should use choco uninstall packagename . 回答2: Update : Chocolatey now has primitive support for uninstall through 'cuninst packagename

How do I update all Chocolatey applications without confirmation?

a 夏天 提交于 2019-11-28 18:17:07
问题 I used to be able to call cup all and have my applications update. Now, it asks for yes to ensure that I want to install the selected package. Is there a way I can have everything auto update without constantly typing yes for every update? 回答1: tl;dr - Yes, completely possible. Use cup all -y Also check out the help menus now - choco -h , choco install -h Longer answer, we've moved a little closer towards other package managers for security reasons, where by default we stop and confirm if you

How should I create or upload a 32-bit and 64-bit NuGet package?

痴心易碎 提交于 2019-11-28 04:53:13
I have an x86 and x64 version of a binary that I want to upload to NuGet. What's the recommendation or required method for creating/uploading that package? I can't find much to base my decision on. I see two methods... Upload them both in the same package Which one should I install by default? Is there a way to test the processor architecture of the project to make the decision? Upload two separate packages Bonus question: What if I'm using something like Chocolatey , which wraps up NuGet with package manager semantics? I might need/want the x86 and x64 packages installed on my system.

How should I create or upload a 32-bit and 64-bit NuGet package?

本小妞迷上赌 提交于 2019-11-27 00:47:53
问题 I have an x86 and x64 version of a binary that I want to upload to NuGet. What's the recommendation or required method for creating/uploading that package? I can't find much to base my decision on. I see two methods... Upload them both in the same package Which one should I install by default? Is there a way to test the processor architecture of the project to make the decision? Upload two separate packages Bonus question: What if I'm using something like Chocolatey, which wraps up NuGet with