# Infra (/docs/infra)





LPM CLI ships the account, settings, security, and development infrastructure most projects bolt together from separate tools as first-class commands. Everything in this section assumes [`lpm dev`](/docs/dev/dev) is your default; these commands are what `lpm dev` orchestrates under the hood and what you reach for when you need to inspect, configure, or fix something it touched.

## CLI [#cli]

<Cards>
  <Card title="lpm tunnel" href="/docs/infra/tunnel" description="Expose localhost to the internet. Claim a stable domain, capture and replay webhooks." />

  <Card title="lpm cert" href="/docs/infra/cert" description="Local HTTPS — generate certificates, install the LPM CLI CA into your trust store, inspect status." />

  <Card title="lpm proxy" href="/docs/infra/proxy" description="Run and inspect the local-domain proxy daemon and active route table." />

  <Card title="lpm hosts" href="/docs/infra/hosts" description="Remove LPM CLI-managed local-domain entries from the hosts file." />

  <Card title="lpm ports" href="/docs/infra/ports" description="List, kill, or reset dev-service port assignments." />
</Cards>

## Account + auth [#account--auth]

<Cards>
  <Card title="lpm login / logout / whoami" href="/docs/infra/login" description="Sign in, clear registry tokens, and inspect the active account identity." />

  <Card title="lpm setup" href="/docs/infra/setup" description="Generate .npmrc auth for CI or local development, plus OIDC workflow snippets." />

  <Card title="lpm token-rotate" href="/docs/infra/token-rotate" description="Rotate the active LPM.dev Registry session token and store the replacement securely." />
</Cards>

## Settings + security [#settings--security]

<Cards>
  <Card title="lpm config" href="/docs/infra/config" description="Get, set, delete, or list user-level CLI configuration." />

  <Card title="lpm security" href="/docs/infra/security" description="Temporary approvals, effective machine floor, and managed security policy." />

  <Card title="lpm policy" href="/docs/infra/policy" description="Inspect and test local install-time policy extensions." />
</Cards>

## CLI maintenance [#cli-maintenance]

<Cards>
  <Card title="lpm doctor" href="/docs/infra/doctor" description="Project + environment health check. Auto-fix common issues." />

  <Card title="lpm store" href="/docs/infra/store" description="Verify, list, or garbage-collect the global content-addressable store." />

  <Card title="lpm self-update" href="/docs/infra/self-update" description="Update the LPM CLI using the right command for the current install method." />
</Cards>

## Features [#features]

<Cards>
  <Card title="Authentication" href="/docs/infra/authentication" description="Registry auth model and secure-storage backend behavior." />

  <Card title="Tunneling" href="/docs/infra/tunneling" description="Stable public domains, webhook capture, replay, and tunnel configuration." />

  <Card title="Local HTTPS" href="/docs/infra/local-https" description="Certificate authority setup and local HTTPS trust model." />

  <Card title="Secrets vault" href="/docs/infra/secrets-vault" description="Encrypted environment storage, cloud sync, pairing, sharing, and rotation." />

  <Card title="Port management" href="/docs/infra/port-management" description="How LPM CLI reserves, reuses, and resets service ports." />

  <Card title="Dependency graph" href="/docs/infra/dependency-graph" description="Graph model behind package dependency inspection and analysis." />

  <Card title="Project health" href="/docs/infra/project-health" description="What project-level health checks inspect and how to fix common failures." />
</Cards>
