chocolatey | Chocolatey NuGet - Like apt | DevOps library
kandi X-RAY | chocolatey Summary
kandi X-RAY | chocolatey Summary
[DEPRECATED - https://github.com/chocolatey/choco] Chocolatey NuGet - Like apt-get, but for windows.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of chocolatey
chocolatey Key Features
chocolatey Examples and Code Snippets
Community Discussions
Trending Discussions on chocolatey
QUESTION
I have been trying to install Angular but everytime this part:
@angular/cli@12.0.3 postinstall C:\Users\Marco\AppData\Roaming\npm\node_modules@angular\cli
node ./bin/postinstall/script.js
Seems to throw an error. I'm not sure if I need this to work or not so I'll leave the last couple lines of the log here.
...ANSWER
Answered 2021-Jun-12 at 16:10I fixed it by going to the actual file location of script.js and running the node command with that path. Like this:
node AppData/Roaming/npm/node_modules/@angular/cli/bin/postinstall/script.js
Actually that only helped a little bit. The problem was I was trying to install Angular using ConEmu GitBash and I should've been using cmd.
QUESTION
I'm working on scripting the setup of our dev machines via chocolately, etc. and I've gotten it to install VS Code, but my attempts to script adding extensions end in failure.
...ANSWER
Answered 2021-Jun-07 at 23:33While it doesn't directly answer the question (it appears that the CLI part of vscode does not respect proxy settings), I resolved my specific problem by downloading the .vsix files for the extensions required and put them in my configuration-as-code repo/deliverable.
QUESTION
I'm having trouble with installing Tableau Desktop with native installer arguments with Chocolatey. Basically, I know that Tableau Desktop .exe installer can take multiple arguments such as:
- ACTIVATE_KEY=""
- REGISTER=1 (if we want Tableau Desktop to register itself during installation)
So, i tried installing Tableau Desktop 2020.1.3 with this command:
...ANSWER
Answered 2021-Jun-02 at 22:56Okay, so..., I got it working. Basically what happened was, I thought:
We always need a forward slash before speciying the install arguments to chocolatey like so:
choco install --install-arguments='/argument1=""someValue"" argument2=""anotherValue""'
Turns out that this is not true. We don't need to specify any forward slash "/" before "argument1" in the PowerShell command above.
I also believed that we need to use a pair of double quotes ("") before and after we specify the value to an argument that we pass to the native installer like this:
--install-arguments='/argument1=""someValue"" argument2=""anotherValue""'
Turns out this is also incorrect. We don't have to use double quotes ("") before and after we specify a value for each argument. We just have to do it normally like how the native installer expects arguments to be passed to it.
With this knowledge, I rewrote the Tableau Desktop installation PowerShell command to:
QUESTION
I'm trying to download and install Cassandra on Windows 10 by downloading and extracting the tar file. I have made sure to initialize new environment variables CASSANDRA_HOME
and I have also updated the PATH
variable to include the bin
subdirectory (you can see it as the last entry in %PATH%
):
ANSWER
Answered 2021-May-27 at 20:09So cassandra
is a bash script file; no surprise that doesn't run on Windows.
I also don't see cassandra.bat
or cassandra.ps1
in your ls
directory output.
That last point tells me that you have downloaded the release candidate for Apache Cassandra 4.0. Windows support was removed as of Cassandra 4.0, thus the *.bat and *.ps1 files are now gone.
If you need to run on Windows you have two options:
- You can download Apache Cassandra 3.x and run that natively on Windows.
- You can use the WSL (Windows Subsystem Linux) to run Cassandra 4.0.
QUESTION
I’ve created a simple Azure DevOps pipeline on hosted agent with vs2017-win2016 image:
Prepare C file [PowerShell task]:
...
ANSWER
Answered 2021-May-25 at 06:36In the Microsoft-hosted Windows agents, the pre-installed MinGW is Mingw-w64 8.1.0
, no MinGW32
installed.
To install MinGW32
on the Microsoft-hosted agents, you need to execute some related command lines in the pipeline. I searched and tried, but did not find any available command can be used to install MinGW on Windows.
As a workaround, maybe you can try manually install MinGW32
on your local Windows machine and then add a self-hosted agent on the local Windows machine to run the pipeline.
You can reference the following article to install MinGW on Windows:
QUESTION
Tech: *Windows * CMD * PyCharm
Desired Behavior: I want to run pycharm main.py
Error:
'pycharm' is not recognized as an internal or external command, operable program or batch file.
What I've tried:
I added pycharm
to my PATH
, restarted my computer
Note: When I run echo %PATH%
, I can actually see that PyCharm is the last item of the path!
ANSWER
Answered 2021-Apr-22 at 14:06Are you sure, that the path to Pycharm is correct?
Did you navigate to C:\Program Files\JetBrains\PyCharm\bin
?
In my case the path is as follows: C:\Program Files\JetBrains\PyCharm Community Edition 2021.1\bin
To set the correct pat in Windows CMD you can do the following:
QUESTION
I require the use of F# 4.5 running on the .NET Framework (not .NET Core). I would like this environment running in a docker container as it'll run periodically on our Jenkins build server. I thought that I could use the existing .NET Framework SDK Image but it only has F# for .NET Core/.NET 5.
So I attempted to install F# into the running container (should that work, I would add it to the image itself) but I am not having any luck. Here was my attempt...
Create a
project
folderDownload vs_BuildTools.exe to
project
Create a Dockerfile using the .NET Framework SDK 4.8 image
...
ANSWER
Answered 2021-May-21 at 17:29I was able to solve the issue by installing the F# Compiler Tools using paket. The F# Compiler Tools for F# 4.5 runs on .NET Framework (or or mono) unlike F# 5 which runs on .NET Core (or .NET 5).
DETAILS Create the DockerfileMy Dockerfile doesn't look too much different from before. I still base it on the Microsoft .NET Framework SDK 4.8 image as I want access to the .NET SDK.
QUESTION
After installing postgres 13, pgadmin4 cannot launch and this error occur :
The pgAdmin 4 server could not be contacted:
Already tried :
- Run as administrator
- Adding file://C:\Program Files\PostgreSQL\13\bin to path variable
- Cleaning Appdata\roaming\pgadmin
- Restarting computer
The error is still here; here is some details :
...ANSWER
Answered 2021-May-17 at 21:19I have same the failure. I can't seem to make pgAdmin 4 work. I installed PostgreSQL on a different laptop, pdAdmin 4 comes up, but then there was a different failure.
QUESTION
When running below command directly in bash shell, I am able to get the output. But when I am passing it via BASH script getting access denied. Any help would be appreciated
...ANSWER
Answered 2021-May-11 at 21:10I think the reason is that when executing the script with sh test.sh
we're asking the POSIX interpreter (shell) to execute the content on the script, while when executing it with ./test.sh
we're asking the script to "execute itself".
For the latter, the file needs to have execution
permissions, which you can add with
QUESTION
I'm currently trying to build Ammo.js on Windows, following the Instructions in the README. I have
emcc
in Pathcmake
installed via Visual Studio (C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe
)- MinGW installed via Chocolatey
Apparently, because I'm on Windows, cmake could not resolve any paths to the executables in CMakeLists.txt
ANSWER
Answered 2021-May-06 at 09:17Had two separate Problems here
The MinGw installation from Chocolatey does not include mingw32-make.exe. I uninstalled it, got the MinGW-Installer and proceeded as per this answer: CMake Error: CMake was unable to find a build program corresponding to "MinGW Makefiles"
I had to actually run
cmake --build builds
after the first command, which I overlooked in the docs
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install chocolatey
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page