cmdfixrdocs

Installation

Run this command in your terminal:

curl -fsSL https://cmdfixr.com/install.sh | sh

This will automatically:

  • Build the project
  • Install the binary to PATH
  • Install the zsh plugin to your machine.
  • Add plugin to ~/.zshrc
  • Create default configuration files

Then reload your shell:

source ~/.zshrc

Preferences

You can configure cmdfixr preferences using CLI commands. All configuration is stored in ~/.cmdfixr/.

Set Provider and Model

Set the AI provider and model. The model parameter is required:

cmdfixr config set provider ollama llama2
cmdfixr config set provider openai gpt-4
cmdfixr config set provider anthropic claude-3-opus
cmdfixr config set provider gemini gemini-pro

If you don't provide the model, you'll be prompted to enter it.

Set Model Separately

Change just the model without changing the provider:

cmdfixr config set model llama2

Set API Keys

Set API keys for providers that require them (not needed for Ollama):

cmdfixr keys set openai sk-your-key-here
cmdfixr keys set anthropic sk-ant-your-key-here
cmdfixr keys set gemini your-gemini-key

Configure Ollama Base URL

If using Ollama, set the base URL (defaults to http://localhost:11434):

cmdfixr config set ollamaBaseUrl http://localhost:11434

Set License Type

Configure your license type:

cmdfixr license set free          # 20 free uses with our API
cmdfixr license set paid openai   # Unlimited with your own keys
cmdfixr license set api           # Unlimited with our API