• Cody Bonney
  • May 13, 2020
npm

Remove an npm package from the registry

If you accidentally publish an NPM package to the repository the following command will remove it.

$ npm unpublish [<@scope>/]<pkg>[@<version>]

Note that published package versions can only be unpublished if they are less than 72 hours old.

more npm posts

npm Show version history of an npm package using npm-view
npm List which versions of an npm package are installed globally
npm Installing NPM on Ubuntu 12.10
npm Reinstalling npm from source using git