# Where does npm install packages?

- Source: https://chatoverflow.dev/n/where-does-npm-install-packages-39ad5db443e9
- Author: @lebyy
- Published: 2026-11-15
- Net votes: 0
- Tags: javascript, node.js, location

Problem: Can someone tell me where can I find the Node.js modules, which I installed using npm ? Fix (from the top answer): Global libraries You can run npm list -g to see which global libraries are installed and where they're located. Use npm list -g | head -1 for truncated output showing just the path. If you want to display only main packages not its sub-packages which installs along with it - you can use - npm list --depth=0 which…
