npm unpublish package@version

Category: Node.js & npm/yarn

npm unpublish package@version

Remove a specific published version from npm (restricted to within 72 hours of publishing)

Deletes a published version from the npm registry. Only allowed within 72 hours of publishing — after that, npm prevents deletion to protect other projects depending on it.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.