Uninstalling npm - how to do it?

How to uninstall npm?
I have issues with my code - too many npms on nix (honestly idk how I made it). Hope someone will help me delete it and modify the code maybe…

npm uninstall < package_name >

1 Like

Hey @voueyio, welcome to the community!

Can you send a link to the Repl?

Not what OP was asking.


I think it’s something in replit.nix, but I don’t know exactly. I don’t think you can uninstall NPM without uninstalling Node.js.

However, if you look at replit.nix and notice that there are multiple packages like pkgs.nodejs-x-x, then you can delete them and only keep one.

1 Like