Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

where does npx saves packages

Tags:

node.js

npm

npx

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!

like image 615
Asaf Avatar asked Feb 01 '26 19:02

Asaf


1 Answers

Somewhere in ~/.npm/_npx.

           asdf

like image 103
Pyprohly Avatar answered Feb 03 '26 09:02

Pyprohly



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!