Search code examples
node.jsnpmnpx

where does npx saves packages


I found out that when I do at the first time npx [package] it prompts me to install the package: "Need to install the following packages"

And if I run the command again it doesn't ask it again, I'm curious where does it save this package on my computer?

Important to mention: I don't have the package on a local/node_modules folder.

Thanks!


Solution

  • Somewhere in ~/.npm/_npx.

               asdf