Skip to content

aube unpublish

  • Usage: aube unpublish [FLAGS] [SPEC]

Remove a package (or a single version) from the registry

Arguments

[SPEC]

Package spec: name, name@version, or omitted to use the current project's package.json

Flags

--dry-run

Don't talk to the registry; print what the command would do

-f --force

Required for whole-package unpublish (no @version in the spec).

Single-version unpublish works without it — matching npm, which is more permissive about dropping one version than nuking every version in one call.

--otp <CODE>

One-time password for registries that require 2FA.

Sent verbatim as the npm-otp header.

--fetch-retries <N>

Number of retry attempts for failed registry fetches.

Overrides fetchRetries / fetch-retries from .npmrc / aube-workspace.yaml when set. Pair with --fetch-timeout to fail fast in scripted test runs.

--fetch-retry-factor <N>

Exponential backoff factor between retry attempts.

Overrides fetchRetryFactor / fetch-retry-factor from .npmrc / aube-workspace.yaml when set. Integer-only — the underlying FetchPolicy.retry_factor is u32. Fractional values like 1.5 are rejected by clap.

--fetch-retry-maxtimeout <MS>

Upper bound (ms) on the computed retry backoff.

Overrides fetchRetryMaxtimeout / fetch-retry-maxtimeout from .npmrc / aube-workspace.yaml when set.

--fetch-retry-mintimeout <MS>

Lower bound (ms) on the computed retry backoff.

Overrides fetchRetryMintimeout / fetch-retry-mintimeout from .npmrc / aube-workspace.yaml when set.

--fetch-timeout <MS>

Per-request HTTP timeout in milliseconds.

Overrides fetchTimeout / fetch-timeout from .npmrc / aube-workspace.yaml when set. Applied via reqwest's .timeout() so it covers headers + body together.

--registry <URL>

Override the default registry URL for this invocation.

Use this npm registry URL for package metadata, tarballs, audit requests, dist-tags, and registry writes.

MIT Licenseen.devCopyright © 2026 en.dev