Questions tagged [chocolatey]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
24 views

Jenkins Installation Fails with Error 1603 Using Chocolatey on Windows

I'm encountering an issue while installing Jenkins via Chocolatey on Windows. Initially, I received an error about Java not being available, which I resolved by setting JAVA_HOME and updating the Path ...
Foad's user avatar
  • 626
2 votes
1 answer
195 views

Install Perl on Windows for LaTeX Packages Without Dependency Issues

I'm currently facing challenges with installing Perl on my Windows system, which I need for handling specific LaTeX related packages. My journey so far has led me through a series of issues, and I'm ...
Foad's user avatar
  • 626
1 vote
0 answers
128 views

Trouble installing a package with chocolatey: System.Management.Automation.RemoteException

I'm trying to install a package with chocolatey 2.2.2 (the package is texlive), using a PowerShell session run as administrator. I get the following error: -- snip --- texlive package files install ...
einpoklum's user avatar
  • 9,513
1 vote
1 answer
157 views

Why are there extra packages listed by Chocolatey and can I delete them?

On opening the choco lib folder, I can see a lot of files. The only stuffs I remember installing were python and ffmpeg, and Chocolatey of course. But what are the rest? And there are 3 instances of ...
Shub's user avatar
  • 160
0 votes
3 answers
174 views

how to install other version neo4j?

OS: Windows 10 their sites seems to give only latest version, install file after searching a-lot, i found, chocolatey might have older version and i tried installing from Chocolatey , keeps giving ...
new's user avatar
  • 5
1 vote
1 answer
739 views

Choco error checksum didn't meet

While installing tabby using choco gives checksum didn't match error. PS C:\Users\devpa> choco install tabby -y Chocolatey v2.0.0 ...
user avatar
0 votes
0 answers
1k views

"Error encountered during SQL installation"

During my internship at a company that utilizes Sage software, I faced challenges while attempting to install Microsoft SQL Server, which is required for Sage. I encountered multiple errors during the ...
Skeptic's user avatar
1 vote
0 answers
48 views

AWS Windows EC2 File Transfer - Need to keep session open

I have a rather large file that I need to copy from an S3 bucket to a Windows EC2 and it will not complete before a session ends. I have found lots of suggestions for this for Linux but not Windows. ...
kcjelv178's user avatar
0 votes
1 answer
618 views

Chocolatey Package Manager showing two packages for each package with (Install) in one

As visible in the screenshot attached, there are two packages for some of the packages with (Install) in the package name. What does this mean and how do I remove/fix/hide the "Install" ones?...
finitenessofinfinity's user avatar
1 vote
2 answers
1k views

Windows 11 GNU make - 'cat' not recognized

I made the foolish decision to move my work environment to Windows 11. I have downloaded GNU Make version 4.3 using chocolatey. Make replies when I prompt it for its version, but returns the error '...
psyduck's user avatar
  • 11
1 vote
1 answer
820 views

PowerShell / Chocolatey, how to do an offline install of Chocolatey itself

I would like to get chocolatey onto multiple systems. The normal way I do this is: if (!(Test-Path "C:\ProgramData\chocolatey\bin")) { Set-ExecutionPolicy Bypass -Scope Process -Force; [...
YorSubs's user avatar
  • 919
3 votes
1 answer
1k views

How to migrate from Chocolatey to Scoop?

I'm finding that Scoop's repos are more often updated than Chocolatey's (am I wrong?). Scoop doesn't immediately recognise apps already installed, so I wanted a way to let Scoop know the apps I had ...
André Levy's user avatar
2 votes
1 answer
4k views

How to install the latest patch version of a package with chocolatey?

I need Python 3.8 on my box and decided to install it with Chocolatey. I see there are a lot of them: > choco list python3 -e --all Chocolatey v0.12.1 python3 3.10.2 [Approved] python3 3.10.1 [...
watery's user avatar
  • 225
0 votes
0 answers
1k views

Installing chocolatey in windows 7

I am trying to installing chocolaty on windows 7 machine. 1. I open power shell terminal with admin 2. Set-Execution policy to AllSigned 3.Then in copied the below code in powershell terminal Set-...
Shravan Meghavath's user avatar
0 votes
0 answers
67 views

Opening powershell terminal from the script for the execution purpose

# Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass (Before running the script execute the command in terminal for admin rights) # Step 1) install Chocolatey when needed if (-not (Test-Path ...
Shravan Meghavath's user avatar
0 votes
0 answers
128 views

How to install outdated packages using chocolatey

#step 1) Installing Chocolatey when needed if (-not (Test-Path -Path "$env:ProgramData\Chocolatey\choco.exe" -PathType Leaf)) { # from https://chocolatey.org/install Set-...
Shravan Meghavath's user avatar
0 votes
1 answer
546 views

Powershell script for software automation using chocolatey

Code for my chocolatey script: $apps=@('googlechrome','firefox','codeblocks','windbg','nasm','explorersuite','pestudio','vscode','sysinternals','python','Google Earth') function Show-Menu { ...
Shravan Meghavath's user avatar
4 votes
1 answer
3k views

How to resolve tilde-completed paths in windows Cmd/Powershell

I'm trying to automate uninstallation of some applications, one of which is XtremeTuner. XtremeTuner saves a command used to uninstall it in the registry under HKLM\SOFTWARE\WOW6432Node\Microsoft\...
Maciej Dziuban's user avatar
1 vote
1 answer
81 views

How to add GUI installed programs

I've recently started using Chocolatey to install new programs on my computer and to then subsequently upgrade them. However, there are many programs that I have already installed which appear when I ...
Kraigolas's user avatar
  • 343
0 votes
0 answers
950 views

Why vagrant claim about Powershell version (minimum 3)?

Trying to use Vagrant and it claims about Powershell minimum version 3 installed. I have Windows 10 Pro and Vagrant 2.2.16 and the minimum version at Windows 10 is 5. Tried to use chocolatey and ...
Marlon's user avatar
  • 369
0 votes
0 answers
35 views

Windows 10 Boot very slow

After installing chocolatey, meteor, git and vscode my Windows boot time got up from like 5 seconds to 25 seconds. I installed meteor by this installer https://forums.meteor.com/t/meteor-windows-...
Gobliins's user avatar
  • 135
1 vote
1 answer
2k views

chocolatey install blocked by antivirus on windows 10

I'm trying to install chocolatey package manager on my local machine as administrator using instructions given on https://docs.chocolatey.org/en-us/choco/setup#install-with-powershell.exe I opened ...
tachyon's user avatar
  • 13
1 vote
1 answer
243 views

Add a directory as a target in chocolatey nuspec file

i want to add a directory as a target in .nuspec file.i tried : <file src="bin\banner\*" target="bin\banner\" /> chocolatey didn't elicit any error and created the nupkg ...
Justaus3r's user avatar
  • 113
1 vote
0 answers
300 views

installing windows-sdk-10-version-2004-all fails reporting "was not successful. Exit code was '-2146889721'"

Installing windows-sdk-10-version-2004-all using chocolatey in docker with Dockerfile FROM mcr.microsoft.com/windows/servercore:ltsc2019 RUN powershell.exe -NoProfile -InputFormat None -...
mpromonet's user avatar
  • 242
1 vote
2 answers
3k views

How "clean" are Chocolatey installs and uninstalls?

I have installed Chocolatey and tested it by installing Docker Desktop. All is well and good, but I wonder, if I uninstall Docker Desktop through Chocolatey, will the package manager delete everything ...
K4R1's user avatar
  • 165
0 votes
1 answer
1k views

Chocolatey: How to install Gnu-Make?

I have choco installed on powershell. If I run powershell as an admin, and type: choco install gnu-make Choco knows that there is a gnu-make package out there, but it can't install it from the repos ...
Chris's user avatar
  • 189
6 votes
3 answers
2k views

Every now and again I want to upgrade a pinned package in chocolatey

I upgrade all my packages weekly with cup all -y However there are several applications that I use infrequently. I want to upgrade them about once every 6 or 12 weeks. So I pinned them. That is ...
IThink's user avatar
  • 447
2 votes
0 answers
193 views

Does Chocolatey has “brew tap” equivalent?

I was wondering if chocolatey package manager has something equivalent to brew tap? In the sense that as a developer I can host some template file(formula) on GitHub and add it to my chocolatey CLI ...
Maor Zilberg's user avatar
2 votes
0 answers
211 views

How to use choco install winrar or other command to enable the cascaded context menu?

Context I use chocolatey as a package manager or software manager on different (remote) systems. WinRAR is also in my top 10 of software to be installed on new systems. I used ninite.com before, but ...
A71's user avatar
  • 550
2 votes
1 answer
1k views

Error message: root element is missing

When updating all Chocolatey packages, the following error message appears: Root element is missing. See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log). chocolatey.log details ...
Bernard Vander Beken's user avatar
1 vote
0 answers
228 views

How to list packages installed with chocolatey ordered by install date?

'Choco list -lia' shows a lot of information, but not the installation dates. What parameters do I use to get those?
Jean Sagi's user avatar
5 votes
1 answer
3k views

How do I install Ruby 2.6 with Chocolatey?

I tried to list all version of Ruby but it only lists one. choco list ruby --exact --all ruby 2.7.0.1 [Approved] 1 packages found. Nokogiri won't work with the latest Ruby. Gem::...
Chloe's user avatar
  • 5,976
0 votes
1 answer
888 views

Set unzip location in Chocolatey Package Install Arguments

I'm trying to install a Chocolatey package which is essentially a zip archive from Github repository releases. Is it possible to set a custom unzip path in a manner similar to choco install ...
tsilvs's user avatar
  • 143
3 votes
1 answer
8k views

Where is the Visual Studio 2015 Build Tools installed to?

I installed the Microsoft Build Tools 2015 Update 3 using Chocolatey: https://chocolatey.org/packages/microsoft-build-tools/14.0.25420.1 But I can't find where it actually installed the files. Can't ...
Geordie's user avatar
  • 462
0 votes
1 answer
129 views

chocolatey upgrade all -y command fails

I've been getting this error for a long time and can't update it. Error Like for every package: You have flashplayeractivex v32.0.0.293 installed. Version 32.0.0.303 is available ...
fPenb's user avatar
  • 1
5 votes
1 answer
11k views

Force reinstall of all chocolatey packages after profile "migration"

For various reasons, my Windows user profile has been recreated; and - AppData files have been copied into the new profile, but not registry contents. Now, I'm trying to restore the installation ...
einpoklum's user avatar
  • 9,513
1 vote
1 answer
940 views

Using Chocolately how do I upgrade just one side-by-side package version?

I have to support two versions of the .net core SDK owing to compatibility issues. Therefore I run: choco install dotnetcore-sdk --version 2.1.700 -y --side-by-side choco install dotnetcore-sdk --...
Kram's user avatar
  • 173
0 votes
0 answers
428 views

Configure SQL Server listening port with Ansible

I installed SQL Server Express Edition in remote Windows machine using Ansible-playbook, Ansible module "win_chocolatey" and Chocolatey package "sql-server-express". Here is my Ansible-playbook task: ...
user3705896's user avatar
2 votes
1 answer
1k views

how do you open applications after installing with chocolatey?

I have checked through similar questions concerning chocolately/choco on windows powershell but I still can't find the answer to this simple one: How do you open a package after it's been installed ...
Justin's user avatar
  • 21
1 vote
1 answer
123 views

How To Determine Bitness of Choclatey Package

Looking through the help, I see that the install defaults to your processor architecture; but if you have a 64-bit OS and only 32-bit package is available, it will fall back. So how can you tell ...
Gary's user avatar
  • 756
2 votes
1 answer
2k views

Installing Chocolatey so that it can install packages as admin level

If Chocolatey, a Windows package manager, is installed using Administrator privileges, does it need Admin privileges to install other apps? If so, is there a way to allow Chocolatey to self-escalate ...
user1085852's user avatar
0 votes
2 answers
1k views

chocolatey - is it safe to delete the hidden .chocolatey folder in Windows 10 [duplicate]

I'm not sure if it's okay to remove this folder located here C:\ProgramData\chocolatey This is not related to How to clear Chocolatey cache in the free version? as this did not solve the issue. Is ...
Ste's user avatar
  • 1,226
0 votes
1 answer
343 views

The file was a text file but is attempting to be run as an executable - installing vim

I am trying to install vim using chocolately PS C:\opt1\abc> choco install -y vim Chocolatey v0.10.15 Installing the following packages: vim By installing you accept licenses for the packages. ...
Anthony Kong's user avatar
  • 5,018
2 votes
1 answer
491 views

How to install numpy for Python 2 with choco?

I want to use chocolately to install numpy onto a Windows machine. However when I run: choco install numpy it tried to install a numpy for Python 3. How can I force it to install a version for ...
Anthony Kong's user avatar
  • 5,018
2 votes
1 answer
573 views

Chocolatey needs permissions for 'Windows Security Client'

I'm trying to software using Chocolatey onto a Windows 7 Enterprise machine, but it requires permissions for "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Microsoft Security ...
Aasa's user avatar
  • 23
3 votes
1 answer
2k views

Re-installing Python using Chocolatey doesn't work

Recently, I installed Python 3.8 using Chocolatey via Windows PowerShell on Windows 10. That was successful and added a new folder C:\Python38. However, I wanted to downgrade to a lower version of ...
James Teow's user avatar
1 vote
1 answer
2k views

Chocolatey: How to retain certain version of a package but install new version when available also?

I have a software with v1.0 installed with chocolatey. I want to keep that version but want chocolatey to install v2.0 also (next to the older one) when I do the next choco update all. Is: choco ...
40detectives's user avatar
0 votes
0 answers
2k views

Chocolatey can't install (Unable to connect to the remote server)

I have installed Chocolatey on my Windows 10 machine and then I have setup an internal Chocolatey registry on a internal Nexus instance. I have setup my Nexus instance as proxy for default official ...
clausfod's user avatar
  • 101
1 vote
1 answer
621 views

Chocolatey throwing errors when installing openvpn

As the title describes, choco install openvpn returns the below error; ERROR: Unable to import PGP key C:\ProgramData\chocolatey\lib\openvpn\tools\openvpn_public_key.asc' in the temporary keyring ...
Arduino_Sentinel's user avatar
1 vote
1 answer
2k views

Choco install within Packer

I am running Packer within Jenkins using Chocolatey to install packages onto that Windows Server before it's created into an AMI, I am currently having an issue with chocolatey within packer not ...
Dave's user avatar
  • 13