Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the correct way to uninstall a app installed using npx?

Tags:

node.js

npm

npx

I want to remove a package reinstalled with npx.

I tried removing the package from where it's installed (C:\Users\vince\AppData\Roaming\npm) by deleting manually the ps1, bat and the package folder and it still didn't worked.

I tried to remove it using npx react-devtools --remove and it still didn't got removed(NPX Didn't showed any output indicating that it sucessfully removed react-devtools). Here is how the command look:

PS C:\Users\vince\project\js\tinder-cli> npx react-devtools --remove

I expect npx to remove react-devtools with a sucess message or something like a sucess message.

like image 461
Vini Dalvino Avatar asked Dec 13 '25 12:12

Vini Dalvino


1 Answers

I uninstall the package by deleting all the content of the directory: C:\Users\vince\AppData\Local\npm-cache\_npx

like image 130
Vini Dalvino Avatar answered Dec 15 '25 05:12

Vini Dalvino