title: How do I publish to a private nuget repository from the command line?
body: <p>I've found <a href="https://docs.nuget.org/consume/command-line-reference" rel="nofollow">several</a> <a href="https://docs.nuget.org/create/creating-and-publishing-a-package" rel="nofollow">helpful</a> <a href="https://www.visualstudio.com/en-us/get-started/package/use/publish" rel="nofollow">documents</a> on this topic but I can't seem to make head nor tail of them. Can someone explain to me like I'm five how I can publish to a private nuget repository from the command line? Specifically, how do I authenticate to my artifactory nuget repository? The command I'm using is</p>
  
  <p><code>nuget push Mypkg1.0.0.nupkg -Source http://artifactory/artifactory/api/nuget/MypgkRepo</code></p>
  
  <p>I have zero experience with nuget but am working on making it part of our build process in order to build only what changed and fetch the rest from the repo. Thanks!</p>