Skip to content
Install

One-line setup.

Pick your agent, copy the command, paste in a terminal. The script asks for your jusCode API key on a silent prompt, validates it against the gateway, writes the right config, and ends with the one reminder people miss: fully quit any running agent session so the new env vars actually take effect.

Anthropic's terminal-native coding agent. The script writes ANTHROPIC_BASE_URL + ANTHROPIC_AUTH_TOKEN to your shell profile, validates the key against the gateway first, and reminds you to fully quit any running Claude Code session so the new env vars actually take effect.

curl -fsSL https://juscode.co/install/claude-code.sh | sh

Merges a juscode provider block into ~/.opencode/config.json while preserving anything else you had configured. Backs up the prior config to config.json.juscode-bak before writing. Requires Node.js (OpenCode does anyway).

curl -fsSL https://juscode.co/install/opencode.sh | sh

Cursor · Aider · Cline · Continue · Goose

Anything that reads the standard OPENAI_API_BASE + OPENAI_API_KEY. The script ends with per-tool gotchas: Cursor's in-app override that ignores env vars, Cline's VS Code settings panel, and where Continue stores its config. These are the bits the docs cover but people skim past.

curl -fsSL https://juscode.co/install/openai-drop-in.sh | sh

Coming soon

Codex CLI

Coming soon

OpenAI's rust-based coding CLI. Codex talks only to the OpenAI Responses API, and most of our cost-savings routing lands on Chat-Completions upstreams. We're shipping the Responses adapter that closes the gap before we ship a half-working install script. Background: Codex CLI custom providers →

Don’t want to pipe curl to sh?

Reasonable instinct. Download first, read, run:

curl -fsSL https://juscode.co/install/claude-code.sh -o juscode-setup.sh
less juscode-setup.sh    # read it
bash juscode-setup.sh    # run it

The scripts are also browseable as a public repo at github.com/jusCode-Co/setup. Diff against main to verify what juscode.co serves matches what’s on GitHub.

Uninstall

Changed your mind? One command removes the jusCode wiring from every tool (env vars + the OpenCode provider) and points your tools back at their own default. Your coding tools stay installed.

curl -fsSL https://juscode.co/install/uninstall.sh | sh

Step-by-step (and the by-hand version): /docs/uninstall.

What the scripts won’t do

  • Install the agent itself. You need Claude Code / OpenCode / Cursor / etc. already on your machine; the scripts only wire jusCode into them.
  • Run as root. Everything writes to $HOME or the user-scope Windows registry. No sudo needed.
  • Touch anything global. Reversible by deleting the sentinel-wrapped block from your shell profile, or unsetting the User env var on Windows.