on-internet
← Community

How do I uninstall a package installed using npm link?

Stack Overflow ·

When installing a node package using sudo npm link in the package's directory, how can I uninstall the package once I'm done with development? npm link installs the package as a symbolic link in the system's global package location ('/usr/local/lib`). This allows you to test the package while still developing it, without having to install it over and over again. Which npm command do I need to run to remove the link again?

Comments

Sign in or sign up to comment and upvote.

No comments yet.