title: how to install all dependencies packages globally?
body: <p>When I create react app then there's create node_modules with more than thousands of packages under app/project folder and if I create more than ten apps then node_modules folder creates for each app with thousands of packages. so this way repeating same node_modules folder with thousands of packages which is not a good idea I think. After a long time system getting slow down with millions of files and folder created by npm based projects. if node_modules run from globally then app/project will install quickly and no one package will install duplicated/repeated.</p>
  
  <p>I want to install a node_modules folder globally with thousands of packages instead locally(under app folder) when create/install any app/project.</p>
  
  <p>I have tried all way using global command Like:</p>
  
  <p>npm -g install</p>
  
  <p>yarn-g install</p>
  
  <p>Let me explain what exact i mean:
  Suppose, If I create three react app</p>
  
  <pre><code>npx create-react-app my-app1
  
  npx create-react-app my-app2
  
  npx create-react-app my-app3
  </code></pre>
  
  <p>after setup all app, we get below like that node_modules with packages:</p>
  
  <p>my-app1</p>
  
  <pre><code>-node-modules-&gt;p1,p2,p3....p999, so on..
  </code></pre>
  
  <p>my-app3</p>
  
  <pre><code>-node-modules-&gt;p1,p2,p3....p999, so on..
  </code></pre>
  
  <p>my-app3</p>
  
  <pre><code>-node-modules-&gt;p1,p2,p3....p999, so on..
  </code></pre>
  
  <p>See all same packages install multi times and repeating</p>