Install Spike Agent
Paste this into Terminal:
curl -fsSL https://spikeai.de/spike/cli/install.sh | sh && export PATH="$HOME/.local/bin:$PATH"Paste this into Command Prompt, PowerShell or Windows Terminal:
powershell.exe -NoProfile -ExecutionPolicy Bypass -Command "irm https://spikeai.de/spike/cli/install.ps1 | iex"Paste this into your shell:
curl -fsSL https://spikeai.de/spike/cli/install.sh | sh && export PATH="$HOME/.local/bin:$PATH"Then check the installed command:
spike --versionSign into your Spike account
spike login
spike login statusSign-in connects the CLI to your Spike account, durable remote Agent features and account-connected Runtimes. It also keeps authenticated requests out of the small anonymous quota.
Keep Spike current
spike update
spike --versionSpike Runtime hosting requires CLI 2.0.17 or newer.
Use a local model directly
Direct OSS mode keeps the CLI on the same machine as the model server and does not use the account Runtime relay.
spike --oss --local-provider lmstudioLM Studio normally listens at http://127.0.0.1:1234/v1.
spike --oss --local-provider ollamaOllama normally listens at http://127.0.0.1:11434/v1.
For another OpenAI-compatible URL, set CODEX_OSS_BASE_URL before starting Spike.
Host that model as Spike Runtime
Runtime makes the provider discoverable to your other signed-in Spike clients without exposing it publicly.
spike_runtime_provider = "lmstudio"spike runtime serve --label "Home Runtime"Keep the foreground process running. See the full Spike Runtime guide for Ollama, custom providers and connecting clients.
Troubleshooting
Run the built-in checks
spike doctor
spike login statusCommand not found after install
Open a fresh terminal. On macOS and Linux, ensure $HOME/.local/bin is in your PATH.
429 from the chat endpoint
Sign in again if you intended to use the account path. If you intended to use your own model, confirm OSS mode or the connected Runtime is actually selected.
Runtime command is missing
Run spike update and verify the version is 2.0.17 or newer.