title: How to register new NuGet package source on .NET Core?
body: <p>I'm struggling to add new NuGet source to store private packages. I have <a href="https://stackoverflow.com/questions/42207619/how-do-i-register-a-new-nuget-package-source-with-dotnet-cli-on-ubuntu-14-04">already tried to add config into my .csproj like this post suggests</a></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;configuration&gt;
    &lt;packageSources&gt;
      &lt;add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" /&gt;
      &lt;add key="Artifactory-DEV" value="https://theluggage-agct.gray.net/artifactory/api/nuget/nuget-institutional-development-local" protocolVersion="3"/&gt;
    &lt;/packageSources&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p>I <a href="https://docs.microsoft.com/en-us/nuget/tools/cli-ref-sources" rel="noreferrer">also tried this</a> but was not able to find an equivalent in <code>dotnet nuget</code>.</p>
  
  <blockquote>
    <p>nuget sources Add -Name "MyServer" -Source \myserver\packages</p>
  </blockquote>
  
  <p>OBS: I'm not using Visual Studio 2017 and currently using Ubuntu.</p>