Install Opsh
Run the install script in your terminal:The installer downloads the latest Opsh binary for your platform (macOS or Linux, arm64 or x64), places it in
~/.opsh/bin, and adds an auto-start block to your shell configuration files.Open a new terminal
Close your current terminal window and open a new one. The auto-start block in your shell rc file launches Opsh automatically when you open an interactive session.If Opsh does not start automatically, you can launch it manually:
Complete first-run setup
On the first launch, Opsh detects that no configuration exists and immediately starts the interactive setup. You will be asked four questions:Enable warp mode?Warp mode lets Opsh auto-run commands it classifies as safe and gives you a plain-English summary of the result. You can change this later.Require confirmation before execution?When warp mode is off, this controls whether Opsh asks you to confirm before running every command. The default is yes.Choose an AI provider:Opsh supports OpenRouter, OpenAI, Anthropic, Gemini, and Ollama. If you want to run models locally without an API key, select Ollama (local) — Ollama must already be installed and running on your machine.Choose a model:After selecting a provider, Opsh shows the available models for that provider. For example, with OpenRouter selected:Enter your API key (not shown for Ollama):Your API key is stored locally in
~/.opsh/config.json and is never sent anywhere other than your chosen provider’s API endpoint.Type your first natural-language request
After setup completes, Opsh drops you into its interactive REPL. Type a task in plain English:You can also pass a one-shot request directly from your regular shell prompt:
Reconfigure at any time
To change your provider, model, API key, or other settings, run:~/.opsh/config.json.

