Skip to content
Docslpm CLI

lpm CLI

All 34 commands of the lpm command line in lpm 0.7.68, in the words of its own help.

Settings puts lpm on your PATH, and the lpm skills teach Claude Code, Codex and other agents to use it: Ask your agent has both.

  • In an lpm terminal or a project folder you can leave out the project name: lpm works it out from where you are.
  • Add --json to almost any command for one JSON object an agent can read.
  • Exit codes: 0 when it worked, 2 for a usage error, a name it can't find or the app not running, and 1 for an error or a timeout.
  • lpm help <command> prints the same help in a terminal.

Commands

lpm config
Resolve, validate, and safely apply lpm YAML configuration
lpm automations
Create, edit, run, pause, and inspect automations
lpm skills
List, show, add, edit, and remove /name skills every agent can read
lpm ask
Ask the user a question from inside an automation run
lpm list
List every project with its running state, service counts, and agents
lpm project
Show everything about one project: services, terminals, actions, live status
lpm logs
Print a running service pane's recent output (its scrollback)
lpm status
Show live agent status (Running / Waiting / Done / Error) across projects
lpm start
Start a project's services via the running app
lpm stop
Stop a project's services via the running app
lpm service
Start, stop, or restart one service via the running app
lpm wait
Wait until a project / service / port is ready, or its agents settle
lpm set-status
Set an agent-status key on a project (via the running app)
lpm pair
Mint an invite so another machine can control this one
lpm awake
Keep this machine awake while agents work, for a set time, or until turned off
lpm ports
List every listening TCP port with the project and service holding it
lpm connections
Show what this machine hosts and what it's connected to
lpm cp
Copy files between this computer and one it connects to
lpm exec
Run a command on a computer this one connects to
lpm generate
Make an image or an audio file with the keys saved in lpm
lpm mobile
Pair a phone with this machine, and manage the phones already paired
lpm clear-status
Clear an agent-status key on a project (via the running app)
lpm rename
Rename a project or duplicate as lpm shows it (via the running app)
lpm work-status
Set the status on a project or duplicate, as its Status menu does: In progress, Review, Blocked, Done, and so on. For an agent's own status, see set-status
lpm duplicate
Duplicate a project into standalone copies
lpm worktree
Create linked Git worktrees of a project via the running app
lpm archive
Archive a project (via the running app): it leaves the app's lists, its services stop and its automations pause; its config, notes and folder stay
lpm unarchive
Bring an archived project back (via the running app); its automations resume from now
lpm remove
Remove a project (via the running app). Originals and SSH projects require --force
lpm auto-pull
Show or set whether the app fast-forwards a project from origin by itself
lpm close
Close a terminal tab (via the running app)
lpm run
Queue an action/command in a new terminal in the app (fire-and-forget)
lpm update
Check for and install lpm updates through the running app
lpm refresh-label
Rerun an action's label commands now (or every one in the project) and redraw labels built from git, via the running app

lpm config

Resolve, validate, and safely apply lpm YAML configuration

lpm config <COMMAND>
lpm config resolve
Resolve a directory to the deepest matching lpm project root
lpm config validate
Validate an lpm project, repo, global, or template YAML file
lpm config get
Read one config layer with a revision for a safe later apply
lpm config apply
Validate and atomically apply a config candidate through the running app

lpm automations

Create, edit, run, pause, and inspect automations

lpm automations <COMMAND>
lpm automations list
List automations and their current state
lpm automations run
Run an automation immediately
lpm automations stop
Stop an automation's current run
lpm automations take-over
Stop a running Claude automation and carry its conversation on in a terminal
lpm automations enable
Enable a scheduled automation
lpm automations disable
Disable a scheduled automation
lpm automations history
Show an automation's run and conversation history
lpm automations output
Print an automation's current live output
lpm automations show
Print an automation's definition
lpm automations open
Open an automation's page in the app
lpm automations add
Create an automation
lpm automations edit
Change an automation's definition
lpm automations remove
Delete an automation and its run history [alias: rm]
lpm automations answer
Answer or dismiss the question an automation is waiting on
lpm automations remove-run
Remove one run (or one message of it) from an automation's history
lpm automations mark-read
Mark an automation's runs read, or every automation's
lpm automations test-check
Try an automation's check command now, the way a scheduled run would
lpm automations reply
Continue an AI automation conversation

lpm skills

List, show, add, edit, and remove /name skills every agent can read

lpm skills <COMMAND>
lpm skills list
List skills made in lpm, the project's and the global ones
lpm skills show
Print a skill's prompt
lpm skills add
Save a new skill
lpm skills edit
Change a skill
lpm skills remove
Delete a skill [alias: rm]

lpm ask

Ask the user a question from inside an automation run

lpm ask [OPTIONS] [QUESTION]
--confirm
A yes/no question
--choice <LABEL>
An option to pick from; repeat for each one
--text
A question answered in the user's own words
--multiple
Allow picking more than one option
--other
Also take an answer that isn't one of the options
--multiline
A larger box for a longer answer
--placeholder <TEXT>
Hint shown in an empty answer box
--yes-label <LABEL>
Label for the yes button
--no-label <LABEL>
Label for the no button
--default <ANSWER>
The answer used if nobody answers before --timeout
--optional
The user may leave it unanswered
--timeout <DURATION>
Stop waiting after this long, e.g. 30m, 4h, 2d (a minute to a year)
--form <JSON>
Several questions at once, as JSON ({"questions":[...]}); `-` reads it from stdin
--key <KEY>
File the question under KEY: one open question per key, and its answer goes to the automation's onAnswer command

lpm list

List every project with its running state, service counts, and agents

lpm list [OPTIONS]

lpm project

Show everything about one project: services, terminals, actions, live status

lpm project [OPTIONS] [NAME]
--full
With --json, include env maps, full action details, and terminal history

lpm logs

Print a running service pane's recent output (its scrollback)

lpm logs [OPTIONS] [SERVICE]
-p, --project <PROJECT>
Project to read from; omit to infer from the environment / cwd
-n, --lines <LINES>
Number of trailing lines to capture (1..=10000) [default: 200]
--pane <PANE>
Capture pane by index instead of by service (0-based)

lpm status

Show live agent status (Running / Waiting / Done / Error) across projects

lpm status [OPTIONS] [NAME]

lpm start

Start a project's services via the running app

lpm start [OPTIONS] [NAME]
--profile <PROFILE>
Start only a named profile's subset of services

lpm stop

Stop a project's services via the running app

lpm stop [OPTIONS] [NAME]

lpm service

Start, stop, or restart one service via the running app

lpm service [OPTIONS] <SERVICE> <OP>
-p, --project <PROJECT>
Project to act on; omit to infer from the environment / cwd

lpm wait

Wait until a project / service / port is ready, or its agents settle

lpm wait [OPTIONS] [NAME]
-p, --project <PROJECT>
The project, as a flag like the other commands take it
--service <SERVICE>
Wait for this declared service to be running
--port <PORT>
Wait for this TCP port to be listening (needs no project)
--agent
Wait until the project's AI agents settle: one reports after the wait starts and none is still working, ignoring the calling tab's own agent (needs the app running)
--timeout <TIMEOUT>
Give up after this many seconds (1..=3600) [default: 60]

lpm set-status

Set an agent-status key on a project (via the running app)

lpm set-status [OPTIONS] <KEY> <VALUE>
--icon <ICON>
--color <COLOR>
--priority <PRIORITY>
--pane <PANE>
Terminal tab the status belongs to; defaults to the tab this runs in
-p, --project <PROJECT>
Project to set on; omit to infer from the environment / cwd

lpm pair

Mint an invite so another machine can control this one

lpm pair [OPTIONS]
--cancel
Withdraw the outstanding invite instead of minting one
--lan
Accept connections on every network interface, not just this machine. Needed on a LAN; unsafe on a public IP without a firewall
--bind <ADDRESS>
Listen on this address only — e.g. a tailnet IP. Safer than --lan on a server, which would also expose the port to the public internet

lpm awake

Keep this machine awake while agents work, for a set time, or until turned off

lpm awake [OPTIONS] [WHAT]
--then <TIME>
After the last agent finishes, stay awake this long (e.g. 10m; 0 to let it sleep)

lpm ports

List every listening TCP port with the project and service holding it

lpm ports [OPTIONS]
--computers
Include each connected paired computer's ports

lpm connections

Show what this machine hosts and what it's connected to

lpm connections [OPTIONS]
--activity
List the latest copies agents made between computers instead

lpm cp

Copy files between this computer and one it connects to

lpm cp [OPTIONS] <SRC> <DST>
--force
Replace files that are already there

lpm exec

Run a command on a computer this one connects to

lpm exec [OPTIONS] --on <NAME[:PATH]> <COMMAND>...
--on <NAME[:PATH]>
The computer, and optionally the folder there: NAME or NAME:PATH

lpm generate

Make an image or an audio file with the keys saved in lpm

lpm generate <COMMAND>
lpm generate image
Make an image from a prompt
lpm generate speech
Speak text into an audio file
lpm generate models
List the models, whose key each needs and whether one is saved

lpm mobile

Pair a phone with this machine, and manage the phones already paired

lpm mobile <COMMAND>
lpm mobile pair
Mint a single-use invite for the iOS app to scan
lpm mobile devices
List the phones paired with this machine
lpm mobile revoke
Unpair a phone, by the id `lpm mobile devices` prints

lpm clear-status

Clear an agent-status key on a project (via the running app)

lpm clear-status [OPTIONS] <KEY>
-p, --project <PROJECT>
Project to clear on; omit to infer from the environment / cwd

lpm rename

Rename a project or duplicate as lpm shows it (via the running app)

lpm rename [OPTIONS] [NAME]
--clear
Go back to showing the project's own name
-p, --project <PROJECT>
Project to rename; omit for the current one (in an automation run, the copy it works in)

lpm work-status

Set the status on a project or duplicate, as its Status menu does: In progress, Review, Blocked, Done, and so on. For an agent's own status, see set-status

lpm work-status [OPTIONS] [STATUS]
--note <NOTE>
A line shown under the project's name, such as a ticket or a reason
--emoji <EMOJI>
The emoji for a status of your own
--clear
Take the status off
-p, --project <PROJECT>
Project to set it on; omit for the current one (in an automation run, the copy it works in)

lpm duplicate

Duplicate a project into standalone copies

lpm duplicate [OPTIONS] [NAME]
-n, --count <COUNT>
Number of copies to create (1..=50) [default: 1]
--label <LABEL>
Display label in <project-name>-<short-description> form. Repeat in creation order
--group <GROUP>
Group the copies under this sidebar folder
--run <RUN>
Action to queue on each copy (conflicts with --command)
--command <COMMAND>
Command to queue on each copy (conflicts with --run)
--prompt <PROMPT>
Prompt to send to the queued action/command
--exclude-uncommitted
Strip uncommitted changes from each copy (overrides the app setting)
--include-uncommitted
Keep uncommitted changes in each copy (overrides the app setting)
--reinstall-deps
Reinstall dependencies in each copy
--no-pull
Do not git-pull latest in each copy (overrides the app default)

lpm worktree

Create linked Git worktrees of a project via the running app

lpm worktree [OPTIONS] [NAME]
-n, --count <COUNT>
Number of worktrees to create (1..=50) [default: 1]
--label <LABEL>
Display label in <project-name>-<short-description> form. Repeat in creation order
--group <GROUP>
Group the worktrees under this sidebar folder
--run <RUN>
Action to queue on each worktree (conflicts with --command)
--command <COMMAND>
Command to queue on each worktree (conflicts with --run)
--prompt <PROMPT>
Prompt to send to the queued action/command
--issue <NUMBER>
Start from this open GitHub or GitLab issue: the branch is named from it, its pull request closes it, and --run or --command gets it as the prompt unless --prompt is given
--reinstall-deps
Reinstall dependencies in each worktree

lpm archive

Archive a project (via the running app): it leaves the app's lists, its services stop and its automations pause; its config, notes and folder stay

lpm archive [OPTIONS] <NAME>

lpm unarchive

Bring an archived project back (via the running app); its automations resume from now

lpm unarchive [OPTIONS] <NAME>

lpm remove

Remove a project (via the running app). Originals and SSH projects require --force

lpm remove [OPTIONS] <NAME>
--force
Allow removing an original project (its source folder is kept)

lpm auto-pull

Show or set whether the app fast-forwards a project from origin by itself

lpm auto-pull [OPTIONS] [NAME]
--set <STATE>
Set this project's own auto pull via the running app; `default` removes it so the project follows its parent (for a duplicate or worktree) or the Settings mode [possible values: on, off, default]
--all
List every project instead of one

lpm close

Close a terminal tab (via the running app)

lpm close [OPTIONS] [TAB]
-p, --project <PROJECT>
Project to look in; omit to infer from the environment / cwd. A tab's id is found wherever it is
--when-done
Close it once its agent's turn ends, instead of now
--force
Close it even if its agent, a command or an unsent message goes with it

lpm run

Queue an action/command in a new terminal in the app (fire-and-forget)

lpm run [OPTIONS] [ACTION]
--command <COMMAND>
Shell command to run instead of a declared action
--prompt <PROMPT>
Prompt to send to the action/command; `/name args` sends that saved command's prompt with the arguments filled in
-p, --project <PROJECT>
Project to run in; omit to infer from the environment / cwd

lpm update

Check for and install lpm updates through the running app

lpm update [OPTIONS]
--check
Report the installed and available versions, and whether services still run on an older lpm, without installing anything
--now
Install right away, even if agents are mid-turn
--stable
From a Beta build, install the latest stable release instead
--cancel
Call off an install that is waiting, or still downloading
--restart-services
Stop every service and start it again on this lpm. Services keep running through an update, on the build they started on

lpm refresh-label

Rerun an action's label commands now (or every one in the project) and redraw labels built from git, via the running app

lpm refresh-label [OPTIONS] [ACTION]
-p, --project <PROJECT>
Project to refresh; omit to infer from the environment / cwd