Remove a published version, subject to registry rules.
Section: Registry discovery and metadata
Unpublish a package version
bash
bash
npm unpublish <package>@<version>Explanation
Remove a published version, subject to registry rules.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Registry discovery and metadata