Questions tagged [chocolatey]

Chocolatey is a Windows apt-get like global automation tool (used mostly as a silent installer). Use this tag for questions about Chocolatey usage and package creation/maintenance. Issues with packages you don't maintain should be asked on Super User, or better, reported to the package maintainer listed on the community feed for the problem package.

Chocolatey is a Windows apt-get-like package management 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 and package creation/maintenance. However, issues with packages you don't maintain are best suited for Super User, or even better, by contacting the package maintainer listed on the community feed for the problem package.

See chocolatey.org for all details.

642 questions
97
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?
Imran Qadir Baksh - Baloch
  • 32,612
  • 68
  • 179
  • 322
81
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
  • 10,842
  • 12
  • 78
  • 123
74
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
  • 5,009
  • 16
  • 47
  • 81
69
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
  • 23,039
  • 31
  • 88
  • 122
68
votes
9 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
  • 950
  • 1
  • 9
  • 14
56
votes
4 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…
52
votes
7 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,686
  • 5
  • 30
  • 48
50
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,457
  • 1
  • 22
  • 32
46
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
  • 571
  • 1
  • 4
  • 5
45
votes
2 answers

Where is the Chocolatey installation path?

I am looking to find out the current Chocolatey installation path using PowerShell.
user284244
44
votes
8 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
  • 133,272
  • 81
  • 405
  • 467
42
votes
9 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,451
  • 3
  • 19
  • 28
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
  • 21,850
  • 21
  • 110
  • 188
37
votes
2 answers

How do I get the list of all the versions of a package?

I would like to get the list of versions of a package. What is the command line for this? It would be also nice to search in versions, for example: all the versions that are higher or lower than a specific version.
Boris Modylevsky
  • 3,029
  • 1
  • 26
  • 42
36
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
  • 28,781
  • 28
  • 95
  • 122
1
2 3
42 43