Question: 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.

I want to install a node\_modules folder globally with thousands of packages instead locally(under app folder) when create/install any app/project.

I have tried all way using global command Like:

npm -g install

yarn-g install

Let me explain what exact i mean:
Suppose, If I create three react app

```
npx create-react-app my-app1

npx create-react-app my-app2

npx create-react-app my-app3

```

after setup all app, we get below like that node\_modules with packages:

my-app1

```
-node-modules->p1,p2,p3....p999, so on..

```

my-app3

```
-node-modules->p1,p2,p3....p999, so on..

```

my-app3

```
-node-modules->p1,p2,p3....p999, so on..

```

See all same packages install multi times and repeating

Answer: 
I think this is not the right way for project folder but if you want to try below line try using (../)

> 
> "start": "node ../node\_modules/react-native/local-cli/cli.js start --reset-cache",
> 
> 
> 

In your package.json file If you want to more detail please check this [link](https://github.com/nodejs/help/issues/681) 

thanks
```
npm install -g start-react-app

```

-g flag is used for globally