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

CommandDescription
loginSign in via browser OAuth
logoutRemove stored credentials
whoamiShow current user and plan
publishPublish package to registry
installInstall a package (wraps npm)
addExtract source files into project
initInteractively create a package.json for LPM
searchSearch the marketplace
infoShow package details
check-nameCheck if a package name is available
qualityShow server-side quality report
setupConfigure .npmrc for @lpm.dev scope
doctorCheck your setup for issues
auditScan for vulnerabilities
outdatedCheck for outdated dependencies
configView or update CLI configuration
cacheManage the local cache
openOpen a package page in your browser
runRun package scripts
token rotateRotate your authentication token
pool statsView your Pool revenue earnings
marketplace compareFind comparable packages by name or category
marketplace earningsView 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