LPM CLI
The lpm CLI handles authentication, publishing, installation, and package management.
Install
npm install -g @lpm-registry/cli
Quick Start
lpm setup # Configure @lpm.dev scope
lpm login # Sign in via browser
lpm publish # Publish your package
lpm install @lpm.dev/acme.utils # Install a package
All Commands
| Command | Description |
|---|---|
login | Sign in via browser OAuth |
logout | Remove stored credentials |
whoami | Show current user and plan |
publish | Publish package to registry |
install | Install a package (wraps npm) |
add | Extract source files into project |
init | Interactively create a package.json for LPM |
search | Search the marketplace |
info | Show package details |
check-name | Check if a package name is available |
quality | Show server-side quality report |
setup | Configure .npmrc for @lpm.dev scope |
doctor | Check your setup for issues |
audit | Scan for vulnerabilities |
outdated | Check for outdated dependencies |
config | View or update CLI configuration |
cache | Manage the local cache |
open | Open a package page in your browser |
run | Run package scripts |
token rotate | Rotate your authentication token |
pool stats | View your Pool revenue earnings |
marketplace compare | Find comparable packages by name or category |
marketplace earnings | View your Marketplace revenue summary |
See Commands for full usage details.
Security
- Credentials stored in your OS keychain (fallback: AES-256-GCM encrypted file)
- SHA-512 integrity verification for all package downloads
- Path traversal protection on all file operations
Learn More
- Commands - Full reference for every command
- Configuration - Environment variables and .npmrc setup
- Skills - AI coding agent skills for your workflow
- MCP Server - Connect AI coding agents to the LPM registry