title: How to properly install plugins with PhpStorm and/or IntelliJ
body: <p>I am very confused as I have noticed it is possible to install plugins in two different ways using PhpStorm or IntelliJ.</p>
  
  <p>Basically, I want to install NodeJS, MongoDB, and Socket.IO libraries, and I can do this in two ways:</p>
  
  <ol>
  <li><p>I can enable the "NodeJS and NPM" plugin and use that to search for available packages/plugins/libraries (whatever they're called!) and install them. This method creates a new folder called "node_modules" and puts them all inside that.</p></li>
  <li><p>Or search for the plugins by going to settings > Languages &amp; Frameworks > JavaScript > Libraries > Downloads, and all of these mentioned plugins are found there for downloading and installing. Also, all of these downloaded plugins are listed under "External Libraries" and not sure where this is located on my PC. You still need to either enable the "NodeJS and NPM" plugin, or install the "node" library if you are using any node related features like the "require" function.</p></li>
  </ol>
  
  <p>Which one of these is the preferred method? Does it matter? Thanks!</p>