Nuget Tutorial — Learn how to publish a Nuget package in NuGet gallery.
Step 1 - Create an account at NuGet.org
Head over to http://nuget.org/ and register for an account. Once you do that, click on "My Account" to see an API Key that was generated for you.
Step 2 - In a command console, run the command:
$ nuget setApiKey Your-API-Key Read more click here
Reference:- This article was originally posted on scmGalaxy.com