chocolatey

How do I configure a local Chocolatey repository?


I'm trying to learn about Chocolatey by setting up a local repository on my machine (c:\ChocolateyLocal\). However, I can't seem to add the folder as a source. I've tried using the command line and ChocolateyGui, and I get the same error:

Failed to query source.

The paths I've tried are (all with and without trailing \):

I'm using the latest Chocolatey (v0.9.9.11).


Solution

  • What version of Chocolatey are you using?

    choco source add -n name -s location

    https://github.com/chocolatey/choco/wiki/CommandsSources

    A side note - you may also need at least 1 package in there.