I created a Chocolatey feed, named "Chocolatey", in ProGet. Now how do I use it from Chocolatey?
I tried running this command to add the source:
PS> choco source add --name=ProGet --source="http://my-proget-server/feeds/Chocolatey"
Chocolatey v0.10.8
Added ProGet - http://my-proget-server/feeds/Chocolatey (Priority 0)
and the command worked in as much as it lists "ProGet" as a source:
PS> choco source list
Chocolatey v0.10.8
chocolatey - https://chocolatey.org/api/v2/ | Priority 0|Bypass Proxy - False|Self-Service - False|Admin Only - False.
ProGet - http://my-proget-server/feeds/Chocolatey | Priority 0|Bypass Proxy - False|Self-Service - False|Admin Only - False.
I then disabled the default source:
PS> choco source disable --name=chocolatey
Chocolatey v0.10.8
Disabled chocolatey
But I must have setup the ProGet source wrong as choco search
doesn't work:
PS> choco search curl
Chocolatey v0.10.8
The remote server returned an error: (400) Bad Request.