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

Remove a package from the registry

Arguments

NameDescription
[<@scope>/]<pkg>[@<version>]

Options

NameDescription
--dry-runIndicates that you don't want npm to make any changes and that it should only report what it would have done
-f, --force
  • Dangerous 💥
-w, --workspace <workspace...>Enable running a command in the context of the configured workspaces of the current project
-ws, --workspacesEnable running a command in the context of all the configured workspaces