Purpose: install prompter, configure one provider, and verify a working run.
- Go installed and
$(go env GOPATH)/binin yourPATH - API key for one remote provider, or a running local OMLX server
- Install:
Using Homebrew (macOS & Linux):
brew install dotcommander/tap/prompterOr using the Go toolchain:
go install github.com/dotcommander/prompter@latestUpdate to future releases with the same installation method, for example:
go install github.com/dotcommander/prompter@latest- Run immediately after authenticating Google ADC and selecting your project:
export GOOGLE_CLOUD_PROJECT="your-project-id"
prompter refine "explain this code"- Or use any remote provider using standard environment variables:
export OPENAI_API_KEY="sk-..."
prompter refine -p openai "explain this code"- Interactive configuration wizard (optional):
prompter configureprompter configure launches an interactive setup form in your terminal to configure:
- Default LLM provider (Gemini, OpenAI, Groq, Cerebras, DeepSeek, OpenRouter, Zai, OMLX)
- Default model identifier
- API key environment variable constant names (e.g.
$OPENAI_API_KEY) - Reasoning effort level (
low,medium,high) - Default automatic clipboard copying
Settings are saved to ~/.config/prompter/config.json using portable machine paths.
If the primary prompt vault is empty, configure also auto-seeds the starter prompts.
Re-running prompter configure refreshes the configuration file. It persists
the active provider, key-variable name, model, base URL, effort, and clipboard
preference. Inline api_key values are never written to disk — keys stay in
environment variables or the configured key_env name.
- Browse your prompt vault (optional):
prompter browseThe browser searches configured prompt directories recursively. If the primary vault is empty, it seeds the curated starter prompts before opening.
- Refresh the model catalog (optional):
prompter models refreshThis fetches Models.dev and OpenRouter metadata, caches up to five affordable choices per provider, and prints them. configure uses the same cache to populate model choices, falling back to built-in choices when the fetch fails.
- Command prints enhanced text
prompter refine -v "test"includes timing output
common-tasks.mdflags.mdtroubleshooting.mduse-json-output.md