title: NuGet package restore - "Package restore is disabled by default. To give consent, open the Visual Studio Options dialog"
body: <p>I'm trying to use NuGet package restore from the command line on a build server.</p>
  
  <pre><code>nuget install myapp/packages.config
  </code></pre>
  
  <p>However, I get the following error message:</p>
  
  <p><em>Package restore is disabled by default. To give consent, open the Visual Studio Options dialog.</em></p>
  
  <p>How am I supposed to do that without installing VS2010 <em>on</em> the build server? (no, I'm not doing that). Is there a registry setting or something? How is NuGet determining that package restore is disabled. Indeed, why is this something that they would even care about making disabled by default?</p>