How to change the npm prefix without config?
<p>I accidentally changed the npm prefix to a place that doesn't exist. Is there a configuration file I can access that would allow me to change this back?</p>

<p>The only options I can think of are:</p>

<ol>
<li>Completely Uninstall Node (<a href="https://stackoverflow.com/questions/39250705/npm-not-responding-after-changing-the-prefix">npm not responding after changing the prefix</a>)</li>
<li>I guess I could create the directories that don't exist and move the npm files there.</li>
</ol>

<p>But it seems like there should be a config file I can change somewhere, right?</p>