O'Reilly logo

Pro NuGet by Xavier Decoster, Maarten Balliauw

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using the setApiKey Command

This command saves an API key for a given server URL:

nuget setapikey <API key> [options]

When no URL is provided, the API key for the official NuGet gallery is saved. API keys are stored in %AppData%\NuGet\NuGet.config.

Available options are shown in Table B-8.

images

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required