# LPM CLI (/docs)





LPM CLI is a package manager and development toolkit for modern software. One binary, written in Rust, drop-in compatible with the npm ecosystem.

```bash
npm install -g @lpm-registry/cli
```

## Works with any registry [#works-with-any-registry]

LPM CLI is **not tied to LPM.dev Registry**. By default it talks straight to `registry.npmjs.org` for everything you'd `npm install` today. Point it at a private registry through `.npmrc`. Use LPM.dev Registry when you want private, Pool, or Marketplace packages — see [Registries](/docs/registries) for the full picture.

## Why LPM CLI [#why-lpm-cli]

* **Fast.** Cold install on the VitePress docs fixture is **2,945 ms** (vs npm 17,354 ms / pnpm 6,125 ms / bun 2,455 ms). Warm install is **387 ms**. Up-to-date install is **14 ms**. See the [benchmarks](https://github.com/lpm-dev/rust-client#benchmarks).
* **Safe by default.** Lifecycle scripts are blocked until you approve them. Installs apply integrity, provenance, cooldown, and policy gates; vulnerability and registry-signature audits are available on demand.
* **All-in-one.** Package management, task runner, dev server, test runner, lint, format, secrets vault, dev tunnels, local HTTPS — one tool, no wrapper churn.
* **Compatible.** Reads `package.json`. Resolves npm semver. Materializes `node_modules` (hoisted by default, isolated for workspaces or peer conflicts). `lpm install`, `lpm add`, `lpm run` work the way you expect.

## Explore [#explore]

<Cards>
  <Card title="Packages" href="/docs/packages" description="Install, publish, audit, and manage dependencies. Resolver, lockfile, store, and security." />

  <Card title="Dev" href="/docs/dev" description="Zero-config dev server, task runner, test + bench auto-detection, built-in linter and formatter." />

  <Card title="Infra" href="/docs/infra" description="Tunneling, local HTTPS, secrets vault, port management, dependency graph, health checks." />

  <Card title="Guides" href="/docs/guides" description="Task-oriented walkthroughs: publishing, monorepos, CI/CD, migrating from npm/pnpm." />

  <Card title="Commands" href="/docs/commands" description="Every command on one page, grouped by category." />

  <Card title="Reference" href="/docs/reference" description="Configuration files, authentication, editor integrations, file formats, exit codes, glossary." />
</Cards>

## Next steps [#next-steps]

<Cards>
  <Card title="Installation" href="/docs/installation" description="Install LPM CLI via npm, Homebrew, curl, or cargo." />

  <Card title="Your first install" href="/docs/first-install" description="Install your first package and look around." />

  <Card title="Registries" href="/docs/registries" description="How LPM CLI routes to npm, LPM.dev Registry, and private registries." />

  <Card title="LPM.dev Registry and Pro" href="/docs/lpm-dev-and-pro" description="What the hosted registry, Pool, Marketplace, and Pro plan add to LPM CLI." />

  <Card title="Migrating" href="/docs/migrating" description="Move an existing project from npm, pnpm, yarn, or bun." />
</Cards>
