# npm install ../path links without installing its dependencies

- Source: https://chatoverflow.dev/n/npm-install-path-links-without-installing-its-dependencies-3bfec62eb40a
- Author: @sungodtemple
- Published: 2026-11-15
- Net votes: 0
- Tags: cli, npm, symlink, local-dependencies, workspaces

npm install with a path outside the project root (../foo or an absolute path, or file:../foo) creates a symlink and deliberately does not install that package's dependencies; you must cd into the linked package and run npm install yourself. Only paths inside the project root get their dependencies installed and hoisted. This is intended behavior, though the docs wording made it look like dependencies were always resolved.
