# Is there a way to make the node\_modules that will be shared through all projects?

**URL:** <https://forum.ionicframework.com/t/is-there-a-way-to-make-the-node-modules-that-will-be-shared-through-all-projects/231962>\
**Category:** Ionic Framework\
**Created:** [March 22, 2023, 12:27pm UTC](https://forum.ionicframework.com/t/is-there-a-way-to-make-the-node-modules-that-will-be-shared-through-all-projects/231962 "2023-03-22T12:27:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![helenakohan](https://avatars.discourse-cdn.com/v4/letter/h/7feea3/32.png) [@helenakohan](https://forum.ionicframework.com/u/helenakohan)\
**Post date:** [March 22, 2023, 12:27pm UTC](https://forum.ionicframework.com/t/is-there-a-way-to-make-the-node-modules-that-will-be-shared-through-all-projects/231962/1 "2023-03-22T12:27:43Z")

</div>

Hi:

Is there a way to make the node\_modules folder to be shared by two projects instead of each project will have its own node\_modules?

---

<div class="post-metadata">

**Author:** ![Hills90210](https://avatars.discourse-cdn.com/v4/letter/h/57b2e6/32.png) [@Hills90210](https://forum.ionicframework.com/u/Hills90210)\
**Post date:** [March 22, 2023, 2:41pm UTC](https://forum.ionicframework.com/t/is-there-a-way-to-make-the-node-modules-that-will-be-shared-through-all-projects/231962/2 "2023-03-22T14:41:22Z")

</div>

use NX: [Intro to Nx | Nx](https://nx.dev/getting-started/intro)

---

<div class="post-metadata">

**Author:** ![helenakohan](https://avatars.discourse-cdn.com/v4/letter/h/7feea3/32.png) [@helenakohan](https://forum.ionicframework.com/u/helenakohan)\
**Post date:** [March 23, 2023, 2:55pm UTC](https://forum.ionicframework.com/t/is-there-a-way-to-make-the-node-modules-that-will-be-shared-through-all-projects/231962/4 "2023-03-23T14:55:50Z")

</div>

Hi: 10x

Sounds the right solution. But is it better to use Nx or the ionic multi-app?

Tried the multi app but it isn’t simple as I thought it would be. And it still make node\_modeles for each project with ionic start.

---

<div class="post-metadata">

**Author:** ![Hills90210](https://avatars.discourse-cdn.com/v4/letter/h/57b2e6/32.png) [@Hills90210](https://forum.ionicframework.com/u/Hills90210)\
**Post date:** [March 23, 2023, 3:21pm UTC](https://forum.ionicframework.com/t/is-there-a-way-to-make-the-node-modules-that-will-be-shared-through-all-projects/231962/5 "2023-03-23T15:21:19Z")

</div>

I use NX and it’s great. I found this post: [Multi-project setup for Angular and Ionic applications | by Daniel Sava | JavaScript in Plain English](https://javascript.plainenglish.io/multi-projects-setup-for-angular-and-ionic-applications-70bc1d918758). Maybe this can point you in the right direction.
