LPM-cli

lpm plugin

Manage built-in tool plugins — list, update, and remove lazy-downloaded binaries.

lpm plugin <action> [name]

Manages the lazy-downloaded binaries that back lpm lint (Oxlint), lpm fmt (Biome), and friends. Plugins are downloaded on first use, cached under ~/.lpm/plugins/{name}/{version}/{platform}/, and SHA-256-verified against either a checksum bundled with the LPM binary or an upstream <asset_url>.sha256 sidecar.

Examples

lpm plugin list                # show installed plugins, current vs latest
lpm plugin update              # update every plugin to its latest version
lpm plugin update oxlint       # update one plugin
lpm plugin remove biome        # delete cached binaries for one plugin

Available plugins

PluginBacksNotes
oxlintlpm lintDistributed as .tar.gz archives by oxc-project/oxc
biomelpm fmtDistributed as direct binaries by biomejs/biome

lpm check is not a plugin — it shells out to the project-local tsc.

Pinning per-project

lpm.json
{
  "tools": {
    "oxlint": "1.57.0",
    "biome": "2.4.8"
  }
}

When a pinned version isn't in the cache, the next lpm lint / lpm fmt downloads and verifies it against the upstream <asset_url>.sha256 sidecar. If the upstream sidecar is unreachable (yanked or very old release), the install fails with an actionable message; set LPM_ALLOW_UNVERIFIED_PLUGINS=1 to opt out of verification — the override is recorded on the sidecar and re-required on every reuse.

See Built-in tools — Checksum verification for the full verification pipeline.

Subcommands

SubcommandAliasesEffect
listlsPrint installed plugins, the current version, and the latest available
updateupgradePull the latest release for one plugin (or all if no name given); human output shows the download phase and SHA-256 verification before the final updated version
removerm, uninstallDelete cached binaries for one plugin

Plus the global flags--json returns a structured listing.

See also