chocolatey

Boo to the Chocolatey Gods

此生再无相见时 提交于 2019-12-23 07:52:31
问题 Update: This utility is to help configure Git through a certified Microsoft Visual Academy (MVA) video that I was going through. I receive a peculiar error when I install packages through Chocolatey. I've uploaded Command Prompt Pointed directory to Chocolatey Bin Directory Attempt to install via cinst poshgit It downloads and appears as if it is working, it even creates the directory under C:\Tools\Poshgit . Then it gives me the following: [Error] Cannot bind arguement to parameter 'Path'

How to make chocolatey install python2 into custom path?

我只是一个虾纸丫 提交于 2019-12-22 13:48:21
问题 I'm installing Python 2.7.11 using Chocolatey, which installs into C:\tools\python2 : choco install python2 -y Is there any way I can get Python to install into C:\Python27 instead? 回答1: Yes, override the install arguments - choco install python2 -y -o -ia "'/qn /norestart ALLUSERS=1 TARGETDIR=c:\Python27'" Alternatively you can create a Python27 folder and it will install there. Note that is determined by reading through the chocolateyInstall.ps1 script - https://chocolatey.org/packages

Difference between Chocolatey and NuGet

孤人 提交于 2019-12-18 10:17:52
问题 Is Chocolatey a higher version of NuGet or a different package manager? Where should I put my open source application? NuGet or Chocolatey? 回答1: NuGet is designed to allow you to easily add code libraries to your project. Things like JSON.NET, Entity Framework, etc. Chocolatey is actually built on top of the NuGet package system, but it is designed to fill a different need. Chocolatey wraps up applications and other executables and makes it easy to install them on your computer. For example,

Proper usage of Chocolatey (package update / version management)

核能气质少年 提交于 2019-12-11 03:58:34
问题 NOTE: This question was valid for Chocolatey 0.9.8 and bellow. Later versions are completely rewritten from PowerShell scripts to a C# application and whole process of package management was improved a lot. I have been using Chocolatey for some time. At the beginning I was excited, but after some time I'm not sure if it's usable yet. I'm concerned the most about proper way of package updating. For example, I have installed Atom editor using Chocolatey . New versions of Atom are released

How to run or install tool on hosted agent in VSTS

人走茶凉 提交于 2019-12-06 07:13:52
问题 I want to run cmd as an administrator on VSTS. Actaully I am trying to install git-tfs with chocolatey tool manager on VSTS hosted agent, So I am running the following command on VSTS command line task: @"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin" or, Alternatively

How to make chocolatey install python2 into custom path?

╄→尐↘猪︶ㄣ 提交于 2019-12-06 05:32:46
I'm installing Python 2.7.11 using Chocolatey , which installs into C:\tools\python2 : choco install python2 -y Is there any way I can get Python to install into C:\Python27 instead? Yes, override the install arguments - choco install python2 -y -o -ia "'/qn /norestart ALLUSERS=1 TARGETDIR=c:\Python27'" Alternatively you can create a Python27 folder and it will install there. Note that is determined by reading through the chocolateyInstall.ps1 script - https://chocolatey.org/packages/python2#files 来源: https://stackoverflow.com/questions/34581991/how-to-make-chocolatey-install-python2-into

Minikube on Windows and HyperV: Stuck on prompt “minikube login”

梦想与她 提交于 2019-12-06 03:34:54
问题 I'm "extremely" new to Kubernetes, and I wanted to try it out on my local machine, which is running Windows 10 along with HyperV. I saw that minikube is used for local development, and I was able to find in on Chocolatey , so I installed it using that: choco install minikube -y (I think this also installs kubectl ) The problem I have is that I'm not able to start it; I'm running the following command: minikube start --vm-driver=hyperv I have an external switch configured in HyperV (I found it

How do I install a package that depends on another package that “target projects”?

独自空忆成欢 提交于 2019-12-05 22:49:23
I am having trouble setting up yeoman. I keep getting this error when trying to install certain packages (yeoman, compass). While, other packages install fine (git, python). External packages cannot depend on packages that target projects I'm not sure where the failure is, but nuget has a long standing issue that chocolatey also gets with using a content folder :(. If any package that is depended on has a content folder, it requires the upstream package to also have a content folder. This is undesirable, so the fix is to ask the package maintainer to remove the content folder. 来源: https:/

Chocolaty packages not installing via OneGet/PackageManagement in Windows 10?

别等时光非礼了梦想. 提交于 2019-12-03 23:43:08
I'm trying to use oneget w/chocolaty and it doesn't seem to be working at all. The package says it's installed, no warning or notification. It installs the package in the choco directory, but doesn't run the install script and therefore the application is not actually installed. Note this is Windows 10 (Powershell 5). Get-PackageProvider –Name Chocolatey -ForceBootstrap Set-PackageSource -Name chocolatey -Trusted Install-package filezilla -Verbose -Force -ProviderName chocolatey yields The answer - I wouldn't use the OneGet Chocolatey provider until you hear an official announcement that it is

How do I remove a package installed via Chocolatey?

﹥>﹥吖頭↗ 提交于 2019-12-03 22:26:28
I installed gittfs using cinst gittfs How do I now remove the gittfs package? xuhdev Use cuninst packagename See Uninstall Command for details. Matt UPDATE: as per @ferventcoder's comment, Chocolately has added support for uninstalling packages since this question was first asked and answered. The syntax is chocolatey uninstall packageName or just cuninst packageName . You can optionally uninstall a specific version: cuninst packageName -version 1.0.1234 See Rob's link for the latest, including known limitations: https://chocolatey.org/docs/commands-uninstall 来源: https://stackoverflow.com