---
title: "Discussion on \"NodeJS, What’s the difference between dependencies, devDependencies and peerDependencies?\" | Hashnode"
description: "Discussion on \"NodeJS, What’s the difference between dependencies, devDependencies and peerDependencies?\". Summary of important behavior differences:\ndependencies are installed on both:\n\nnpm install from a directory that contains package.json\nnpm install $package on any other directory\n\ndevDependencies are:\n\nalso installed on npm install on a directory th..."
url: "https://hashnode.com/posts/nodejs-whats-the-difference-between-dependencies-devdependencies-and-peerdependencies-309d18fdff44/623fe7d82209c88a3de92912"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [NodeJS, What’s the difference between dependencies, devDependencies and peerDependencies?](https://aiu-brainless.hashnode.dev/nodejs-whats-the-difference-between-dependencies-devdependencies-and-peerdependencies-309d18fdff44?utm_source=hashnode&utm_medium=feed)

Summary of important behavior differences: dependencies are installed on both: npm install from a directory that contains package.json npm install $package on any other directory devDependencies are: also installed on npm install on a directory th...

Nov 16, 2021 · 5 min read · aiu-brainless.hashnode.dev  
Read the article

-   [#nodejs](https://hashnode.com/tag/nodejs)
-   [#npm](https://hashnode.com/tag/npm)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#developer-tools](https://hashnode.com/tag/developer-tools)
-   [#software-development](https://hashnode.com/tag/software-development)

## Written by

[ion](https://hashnode.com/@ionutale)

@ionutale

  
[View profile](https://hashnode.com/@ionutale)

full-stack-developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
