Skip to content

Connect

Authenticate to the feed with an API key sent in the X-NuGet-ApiKey header (push/admin), and add the v3 index as a package source. Replace the host and key with your own.

Terminal window
dotnet nuget add source https://your-host/v3/index.json --name nugetkeep

nuget.config:

<configuration>
<packageSources>
<add key="nugetkeep" value="https://your-host/v3/index.json" />
</packageSources>
</configuration>
Terminal window
dotnet nuget push <pkg>.nupkg -s https://your-host/v3/index.json -k <API_KEY>

The key is your NuGetKeep admin/publisher API key (the bootstrap key is generated and logged on first run, or pinned with NUGETKEEP_BOOTSTRAP_APIKEY). See Restore & push.