I just installed chocolatey through nuGet using the following steps in the admin shell: chocolatey nuget install. However, when I try to get any package, I am asked for credentials (which I assume is not meant to happen). Can anyone point out what I am doing wrong?
Asked
Active
Viewed 1,169 times
0
-
You say that you installed Chocolatey through NuGet. Can you confirm exactly what you did? Did you follow the installation instructions here: https://chocolatey.org/install – Gary Ewan Park Jun 27 '18 at 20:52
-
Did you run the command `cinst` elevated? – Jun 27 '18 at 20:53
-
Yes, I am using an admin shell, and here's what I followed: https://chocolatey.org/install#install-using-nugetexe-from-powershell – Bob Jun 28 '18 at 13:04
1 Answers
0
Maybe not a fix, but I found a work around. It is possible to download the *.nupkg files from https://chocolatey.org/packages and then run choco install [packageFile]
, which doesn't require the server to be contacted and this avoids the permission issue.

Bob
- 21
- 4