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.
Add the source
Section titled “Add the source”dotnet nuget add source https://your-host/v3/index.json --name nugetkeepnuget.config:
<configuration> <packageSources> <add key="nugetkeep" value="https://your-host/v3/index.json" /> </packageSources></configuration>Push with an API key
Section titled “Push with an API key”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.