Questions tagged [chocolatey]

Chocolatey is a Windows apt-get like global automation tool (used mostly as a silent installer).

Chocolatey is a Windows apt-get like global automation tool (used mostly as a silent installer). It uses PowerShell and you can automate almost everything.

It allows you to create packages and submit them to the main feed repository, put those packages on custom sources like includes myget.org, a file share, directories, custom feeds and private feeds. Most packages take advantage of the functions that a Chocolatey PowerShell module provides that make downloading and silently installing an application no more than a function call.

Use this tag for questions about Chocolatey usage, creation of Chocolatey packages etc.

See chocolatey.org for all details.

519 questions
89
votes
1 answer

Difference between Chocolatey and NuGet

Is Chocolatey a higher version of NuGet or a different package manager? Where should I put my open source application? NuGet or Chocolatey?
user960567
  • 28,664
  • 58
  • 165
  • 292
65
votes
2 answers

How do I update all Chocolatey applications without confirmation?

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?
Josue Espinosa
  • 4,642
  • 14
  • 43
  • 80
63
votes
6 answers

How do I automatically keep all locally installed Chocolatey packages up to date?

There is Ketarin to update Chocolatey packages and push them to chocolatey.org automatically, but how do I automatically update all locally installed Chocolatey packages?
030
  • 8,013
  • 8
  • 63
  • 100
52
votes
8 answers

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

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?
Hazz22
  • 790
  • 1
  • 7
  • 14
47
votes
1 answer

How do I downgrade a Chocolatey package?

I have virtualbox 4.3.28 installed. I'd like to downgrade to virtualbox 4.3.26 Is it possible to downgrade without uninstalling/reinstalling?
Eric Francis
  • 18,369
  • 25
  • 77
  • 118
44
votes
2 answers

Uninstall Chocolatey package

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?
Shaun Danielz
  • 551
  • 1
  • 4
  • 5
41
votes
6 answers

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

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 get this list without version information? My intention is to use this output to call choco install 7zip.install…
Natan
  • 4,216
  • 4
  • 27
  • 45
40
votes
3 answers

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

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…
Anthony Mastrean
  • 20,318
  • 20
  • 92
  • 173
37
votes
2 answers

What's a Chocolatey "Install" package?

On reviewing the chocolatey packages available, I came across a few that have two (or sometimes more) packages apparently for the same product. At first glance is not possible to tell the difference. For example, there is the AutohotKey package, and…
j4v1
  • 1,187
  • 17
  • 28
32
votes
2 answers

What's the difference between Chocolatey's Git packages?

Chocolatey's package repository shows two popular packages for installing Git: https://chocolatey.org/packages/git https://chocolatey.org/packages/git.install What's the difference between these two packages? How does one decide whether to…
jwfearn
  • 26,394
  • 26
  • 89
  • 117
31
votes
2 answers

Where is the Chocolatey installation path?

I am looking to find out the current Chocolatey installation path using PowerShell.
user284244
28
votes
5 answers

Chocolatey - Git installs, but is not on the PATH

I'm using Chocolatey (v0.9.8.27) as a package manager for Windows. I've installed multiple packages, and they all run fine, but for some reason Git isn't working. The command I used was choco install git. It downloads git and git.install to the lib…
Rob
  • 9,433
  • 12
  • 52
  • 87
27
votes
5 answers

The 'sphinx-build' command was not found.

This was our processes of installing Sphinx. > choco install python -y -f > pip install sphinx We know that sphinx installed because of the following output. > pip show sphinx --- Metadata-Version: 2.0 Name: Sphinx Version: 1.4.3 Summary: Python…
Shaun Luttin
  • 107,550
  • 65
  • 332
  • 414
26
votes
2 answers

How to refresh the environment of a PowerShell session after a Chocolatey install without needing to open a new session

I am writing automated script for cloning GitHub source code to local machine. I failed after installing Git in my script, it asked for close/open powershell. So I am not able to clone code automatic after installing Git. Here is my code: iex…
25
votes
7 answers

'choco' command not recognized when run as administrator on Windows

I installed Chocolatey as per the instructions on the website (https://chocolatey.org/install). The 'choco' command works fine when I run it normally on cmd but returns the following error when run as administrator: C:\WINDOWS\system32>choco install…
Nicholas Kajoh
  • 1,022
  • 2
  • 16
  • 27
1
2 3
34 35