promptlm-cli repo create \
--dir ~/prompts \
--name myorg/my-prompts
GET STARTED / YOUR FIRST PROMPT
Your first prompt
End-to-end walkthrough using the verified promptlm-cli commands.
1. Create a prompt repository
Most CLI commands operate against an active project — a Git-backed prompt store on disk.
Create a new one (and have promptLM register it as the active repo):
Or clone an existing remote:
promptlm-cli repo clone \
--repo https://github.com/myorg/my-prompts.git \
--target ~/prompts
To switch the active repo to one already on disk: promptlm-cli repo
use --path ~/prompts.
2. Create a prompt draft
promptlm-cli prompt create \
--name support_welcome \
--group support \
--userMessage "Greet {customer_name} warmly."
--placeholder (repeatable, key=value) can be passed alongside to
override placeholder defaults.
The command returns the new prompt’s id — keep it for the next steps.
3. Inspect the latest version
promptlm-cli prompt show --id <prompt-id>
4. Release the prompt
promptlm-cli prompt release --id <prompt-id>
|
Note
|
When
In the default |
Once released, the prompt is reachable from the client SDKs as a versioned JSON bundle.