Skip to main content

Questions tagged [chocolatey]

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

5 votes
4 answers
9k views

How to resolve "ERROR: Specified cast is not valid." error during installation?

I'm currently receiving this error when installing Java SE Runtime Environment (jre8), updating used to work fine: Searching if new version exists... ERROR: Specified cast is not valid. The install of ...
user198350's user avatar
  • 4,089
1 vote
1 answer
788 views

is there an alternative to in-sourcing chocolatey packages into say artifactory, if your users haven't got internet access

I am trying to set up Chocolatey, at my place of work. We do not allow users access to install software from the internet, but we do allow tools such as NuGet, Maven, Gradle and Chocolatey to pull ...
Niels Andersen's user avatar
6 votes
1 answer
1k views

Where does chocolatey install sysinternals?

Chocolatey has a nice sysinternals package, but where does it install to? (by default) https://chocolatey.org/packages/sysinternals
David's user avatar
  • 2,322
1 vote
0 answers
38 views

Files in the same directory seen differently by different tools [duplicate]

I have installed chocolate(packet manager) programs at: C:\ProgramData\chocolatey\bin And also installed fzf(search tool) as GVIM plugin.Accidently installed at the same dir: C:\ProgramData\...
lluke's user avatar
  • 1,094
0 votes
1 answer
70 views

Upgrading software with Chocolatey using installer GUI

I want to upgrade a specific package (gpg4win) with Chocolatey, but I would like to see the actual installer and tweak some settings (specifically I want to uncheck a certain option because of this ...
Jeroen's user avatar
  • 1,893
4 votes
1 answer
3k views

List local chocolatey packages and order by installation date

Chocolatey packages tend to accumulate when you have installed them long ago and have stopped using them later. I could go manually through a list of local packages choco list -lo But with a long ...
Dr_Zaszuś's user avatar
0 votes
1 answer
607 views

Chocolatey cannot install Microsoft Teams

I can perform other installations with Choco but not MS-Teams. It fails with this error even though I did the installation in elevated mode. What can I do about it?
Niklas Rosencrantz's user avatar
1 vote
1 answer
125 views

Stop adding unwanted processes to autorun after program update

1. Summary I install program → I remove program/service of program from autorun → I update program → program/service in autorun again. How I can remove process from Windows autorun preventively, ...
Саша Черных's user avatar
8 votes
2 answers
13k views

How can I solve warning when I install chocolatey?

When I install chocolatey, I get error like this : ... WARNING: It's very likely you will need to close and reopen your shell before you can use choco. ... WARNING: You can safely ignore errors ...
Success Man's user avatar
1 vote
1 answer
470 views

How to upgrade Git through Chocolatey that I got when installing Cmder

I installed Cmder by running the following in an Administrative PowerShell: choco install cmder This also installed Git for me. But it installed an older version of Git, not the latest that is ...
J86's user avatar
  • 389
7 votes
1 answer
4k views

How can I upgrade a Chocolatey package if it's already installed, and install it if it isn't?

I'm writing a set of PS scripts to help set up and maintain a Windows dev environment. Right now, I am maintaining two script files, one for installing Chocolatey packages, and another for upgrading ...
Eric Sondergard's user avatar
0 votes
0 answers
253 views

Is it possible to skip one package update?

Sometimes Chocolatey package maintainers lag behind and I update a program manually. I can use a command choco pin add -n=packagename to lock a package to its current revision, but I must remember to ...
user198350's user avatar
  • 4,089
149 votes
3 answers
116k views

How to list installed Chocolatey packages?

Probably a simple question, but how do I get Chocolatey to list which packages are currently installed on my system? When googling, I end up at the question below. It is related but slightly ...
Grilse's user avatar
  • 3,643
1 vote
1 answer
57 views

How to change the order of packages updating with Chocolatey?

When executing cup all -y it looks like Chocolatey updates all the packages alphabetically. Is there an option to change this behavior to sort the packages by size, and then install largest or ...
andselisk's user avatar
  • 811
10 votes
2 answers
15k views

How do I uninstall a Chocolatey package that won't go away?

C:\Users\Chloe>choco uninstall cyg-get Chocolatey v0.10.8 Uninstalling the following packages: cyg-get cyg-get v1.1.0 Skipping auto uninstaller - No registry snapshot. Chocolatey uninstalled 1/1 ...
Chloe's user avatar
  • 6,046
2 votes
1 answer
2k views

Run interactive script at system startup, or start interactive user session (Windows)

I am creating ephemeral Windows Server VMs on AWS and would like to install a list of software unattended when they first start up. To do this, I am running a bootstrap script at startup that installs ...
Marty's user avatar
  • 242
0 votes
1 answer
838 views

cpp-ethereum not installed. The package was not found with the source(s) listed. (Chocolatey)

I would like to install cpp-ethereum following the documentation Powershell is running in admin mode, but if I try to run the install command (choco install cpp-ethereum), I get this error: PS C:\...
Iter Ator's user avatar
  • 503
1 vote
1 answer
505 views

Mysql hangs forever after initial installation on Windows 10 with chocolatey

So I got a new work laptop - it's a fresh dell latitude - and windows 10 went through a very nice set up phase. I proceeded to install all the things. git (for windows) VSCode chocolatey keepass ...
Sean Newell's user avatar
0 votes
0 answers
201 views

Error installing packages using chocolatey behind virtualbox

I have my windows virtual machine in virtualbox, Internet connectivity works fine. I installed chocolatey windows package manager using https://chocolatey.org/install. However installation of packages ...
To Kra's user avatar
  • 101
5 votes
1 answer
2k views

How to place symlinks to all executables installed through Chocolatey in a particular directory?

Chocolatey - PowerShell - Symlink I installed a few packages using Chocolatey Package Manager. Rather than adding each of the installation directory to PATH or in my $PATH variable in PowerShell, I ...
mrsauravsahu's user avatar
1 vote
1 answer
1k views

Why multiple versions of notepadplusplus in Chocolatey [duplicate]

https://chocolatey.org/packages?q=notepadplusplus "Notepad++ (Install) 7.3.3" looks to be the better one based on the number of downloads, but why is there also "Notepad++ 7.3.3" ?
stevec's user avatar
  • 305
1 vote
1 answer
695 views

Is there a way to persist Chocolatey package parameters so that they are silently reused on upgrade?

E.g. is it possible to set the /NoSetAsDefault parameter for the PDFXchangeEditor package so that it is used on install and each upgrade, including upgrade all?
ps_ttf's user avatar
  • 113
0 votes
1 answer
52 views

What are mysterious, non-existent versions of Chocolatey packages?

Some Chocolatey packages get updated between official program releases and have their own version number. Examples: qBittorrent 3.3.11.20170322 (official release notes) WinDirStat 1.1.2.20161210, 1....
user198350's user avatar
  • 4,089
3 votes
1 answer
91 views

The way to file a new-package request ("RFP") with the Chocolatey team

If you're using Debian Linux and apt-get, and you want to ask the Debian team to create a new package, you file a Debian RFP bug. If you're using Fedora Linux and yum, you visit the Package Database ...
unforgettableidSupportsMonica's user avatar
0 votes
1 answer
141 views

Chocolatey GUI crash after trying to install Elixir

After trying to install Elixir, Chocolatey-gui froze, and after giving it an hour, I force closed it, and tried relaunching it, to get this: choco in the command line still works fin. Does anyone ...
Aido's user avatar
  • 249
5 votes
2 answers
6k views

Chocolatey, run installed package

Is there any command to run a installed package with chocolatey? Something like choco run console2
user63227's user avatar
  • 279
21 votes
1 answer
10k views

How to choose between 32 bit or 64 bit version of a package?

When I install choco install notepadplusplus it installs 64 bit of Notepad++ and it causes issues (there no package manager for 64 bit of npp) Is there any way to specifically choose 32 bit or 64 ...
Allan Xu's user avatar
  • 689
0 votes
2 answers
206 views

youtube-dl Chocolatey package

youtube-dl on Chocolatey packages When running youtube-dl --version command the output is 2016.06.16. The latest youtube-dl version at the moment is 2017.01.05. At first I thought that the package ...
user198350's user avatar
  • 4,089
4 votes
1 answer
855 views

What does "(Install)" mean in a package?

example: https://chocolatey.org/packages?q=notepad%2B%2B Does Chocolatey run the native program installer? If I prefer simplicity, should I avoid packages with (Install) in their name?
user198350's user avatar
  • 4,089
10 votes
2 answers
16k views

Chocolatey - Python - Am I doing it wrong?

I installed Python using Chocolatey: choco install python3 I did this in an administrative PowerShell prompt. The results seem successful enough: PS C:\Windows\system32> choco install python3 --...
Jay Sullivan's user avatar

15 30 50 per page