1

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!

Asaf
  • 949
  • 2
  • 13
  • 14
  • Does this answer your question? [Where does npm install packages?](https://stackoverflow.com/questions/5926672/where-does-npm-install-packages) – Phil Apr 28 '21 at 15:03
  • 1
    No, because I don't see there any of the packages I used with npx – Asaf Apr 28 '21 at 15:27

1 Answers1

2

Somewhere in ~/.npm/_npx.

           asdf

Pyprohly
  • 1,128
  • 1
  • 11
  • 10