title: Change default .nuget/package folder .NET Core
body: <p>Text from <a href="https://docs.microsoft.com/en-us/dotnet/articles/core/tools/dotnet-restore" rel="nofollow">documentation</a>:</p>
  
  <blockquote>
    <p>If not specified, the default NuGet package cache is used. It is found in the <strong>.nuget/packages</strong> directory in the user's home directory on all operating systems (for example, /home/user1 on Linux or C:\Users\user1 on Windows).</p>
  </blockquote>
  
  <p>Can I change .nuget/packages location?</p>
  
  <p>My local NuGet.Config:</p>
  
  <pre class="lang-xml prettyprint-override"><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="My Local Feed" value="C:\Users\IEUser\Documents\My Local Feed" /&gt;
    &lt;/packageSources&gt;
    &lt;disabledPackageSources&gt;
      &lt;add key="Microsoft and .NET" value="true" /&gt;
    &lt;/disabledPackageSources&gt;
    &lt;packageRestore&gt;
      &lt;add key="enabled" value="True" /&gt;
      &lt;add key="automatic" value="True" /&gt;
    &lt;/packageRestore&gt;
    &lt;bindingRedirects&gt;
      &lt;add key="skip" value="False" /&gt;
    &lt;/bindingRedirects&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p>What should I change?</p>