--- title: "node_modules" description: "The package manager stores the dependencies of your project in the node_modules/ directory." head.title: "node_modules/" navigation.icon: i-ph-folder-duotone --- The package manager ([`npm`](https://docs.npmjs.com/cli/commands/npm) or [`yarn`](https://yarnpkg.com) or [`pnpm`](https://pnpm.io/cli/install) or [`bun`](https://bun.sh/package-manager)) creates this directory to store the dependencies of your project. ::important This directory should be added to your [`.gitignore`](/docs/guide/directory-structure/gitignore) file to avoid pushing the dependencies to your repository. ::