Install LPM CLI

LPM CLI is a native Rust executable distributed through npm, Homebrew, and a standalone installer. Choose the channel that fits your machine; each provides the same lpm command.

npm

npm install -g @lpm-registry/cli

The npm package selects the matching platform-native package through optionalDependencies and verifies the executable during installation. Node.js 18 or later is required for this installation channel, but the installed package manager is a native executable.

Keep optional dependencies enabled. Options such as --omit=optional prevent npm from installing the platform binary.

For a one-off command:

npx @lpm-registry/cli@latest --version

Homebrew

brew tap lpm-dev/lpm
brew install lpm

Homebrew supports macOS and Linux. The formula is updated with each LPM CLI release.

Standalone installer

curl -fsSL https://cli.lpm.dev/install | sh

Use the standalone installer on macOS or Linux when Node.js is not available, including CI runners and container images.

Supported prebuilt platforms

Operating systemArchitecturenpm platform package
macOSApple Silicondarwin-arm64
macOSInteldarwin-x64
Linux, glibcx86_64linux-x64
Linux, muslx86_64linux-x64-musl
Linux, glibcARM64linux-arm64
Windowsx86_64win32-x64

Verify the installation

lpm --version
lpm doctor

lpm doctor checks the local project and development environment. It deliberately skips network, Registry-authentication, tunnel, and other extended probes.

After signing in, run the complete diagnostic set:

lpm login
lpm doctor --all

lpm doctor --all includes LPM.dev Registry reachability and validates the stored session.

Update LPM CLI

lpm self-update

You can also update through the channel that installed it:

npm install -g @lpm-registry/cli@latest
brew upgrade lpm

For installation internals, checksum and signature verification, shell configuration, uninstalling, or platform-specific troubleshooting, see the LPM CLI installation guide.

Continue

  • Authentication — Sign in and choose the right local or CI credential.
  • Publishing — Prepare and publish a package to LPM.dev Registry.
  • LPM CLI documentation — Package installation, registry routing, lockfiles, workspaces, and command reference.