Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Uninstall package using npx

Tags:

npm

I trying uninstall package, who I installed by:

npx terminalgpt

I trying:

npm uninstall -g terminalgpt

But is not working, how I can uninstall this package?

like image 931
mxcdh Avatar asked Apr 16 '26 09:04

mxcdh


1 Answers

you don't have to

If any requested packages are not present in the local project dependencies, then they are installed to a folder in the npm cache, which is added to the PATH environment variable in the executed process.

— from npx doc

that cache folder is like a temporary folder you don't have to specially care yourself about.

If you really want to clean your cache, see npm cache doc

like image 99
abernier Avatar answered Apr 22 '26 00:04

abernier



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!