npm install from the parent directory
<p>I have a directory structure like this: <code>/a/b/c</code></p>

<p>Directory <code>c</code> contains <code>package.json</code> and should contain <code>node_modules</code>.<br>
How can I execute <code>npm install</code> from inside directory <code>a</code>?</p>

<p>I tried this way: <code>npm --prefix b/c install b/c</code> but this way, all the symlinks are created directly inside <code>c</code> instead of the default <code>node_modules/.bin</code>.</p>

<p>Is there any way to achieve that?</p>

<p>node: 6.2.2<br>
npm: 3.10.2</p>