Skip to Content
LoremLLM

CLI

Every loremllm command and flag.

CommandDescription
loremllm initCreate loremllm.config.ts
loremllm loginOpen a browser to authenticate, and save a key
loremllm devRun the local server
loremllm push [mock...]Upload mocks and recordings
loremllm pull [mock...]Download hosted mocks
loremllm record -- <command>Run a command through the recording proxy
loremllm test <mock> <prompt>Send one prompt, print the match and the stream
loremllm route <mock> <prompt>Sample routing and print where results land
loremllm eval [file...]Run evals and print pass rates
loremllm logs <mock>Tail the request inspector
loremllm keys create --scope <scope>Create a project key

loremllm dev

FlagDefaultDescription
--port4010Port
--configloremllm.config.tsConfig path
--latencymock settingnone, fast or real
--strictoffExit non-zero on an unmatched request
--no-watchDon't reload on change

loremllm record

FlagDefaultDescription
--mockrequiredMock to save recordings under
--provideropenaiopenai, anthropic or mcp
--modeautorecord, replay or auto
--pruneoffDelete recordings no request used

Environment

VariableDescription
LOREMLLM_KEYProject key, used instead of loremllm login
LOREMLLM_API_URLAPI base, for self-hosted installs

On this page