How to rebuild node modules with npm?
<p>I'm a complete beginner at Node so maybe my question is probably very naive, sorry about that.</p>

<p>I created my first project at work with Grunt.</p>

<p>Grunt uses Node, so now I have a nice folder <code>node_modules</code> at the root of my project, with several modules inside. Everything is working fine.</p>

<p>I added <code>node_modules/*</code> in my <code>.gitignore</code>, assuming that I would rebuild it easily from another place.</p>

<p>Then I go home, I retrieve my project with git and now I don't know how to rebuild the node modules.</p>

<p>Is there an <code>npm</code> command that would read <code>package.json</code>?</p>