Skip to content

One-click script: install.sh ​

One command opens the Clauddy setup wizard. For macOS, Linux and WSL on Windows.

bash
curl -fsSL https://docs.clauddy.com/install.sh | bash -s -- --lang en

What happens when you run it ​

  1. A menu appears. Type the number of the client you want. Several at once works too, e.g. 1 2.
  2. If the client is not installed, the script offers to install it using that client's official method.
  3. It asks you to create an API key in the right group in the console. After you paste it, the script calls /v1/models to validate the key and reports model count and latency.
  4. It writes the endpoint and key into the client's config file, backing it up to a timestamped .bak first.
  5. It prints the launch command. Return to the menu for another client, or type 0 to exit.
MenuClientRecommended groupWrites to
1Claude CodeClaude~/.claude/settings.json
2Codex CLIOpenAI~/.codex/config.toml
3Gemini CLIGemini~/.gemini/.env
4OpenClawUnified~/.clauddy/env
5Hermes agentUnified~/.clauddy/env
6Switch language

If validation fails

After three failed attempts the script offers "AI diagnosis": one bounded diagnostic call to the gateway using a validated key. It only prints advice and never changes anything. Most failures are a wrong group or an incompletely pasted key.

Windows users ​

install.sh is a Bash script. It cannot run in PowerShell or CMD.

  • WSL installed: run the command above inside a WSL terminal. The script configures only the WSL environment, so run the clients inside WSL too.
  • Want native Windows: use the CC Switch desktop app, or follow the Windows manual setup on each client page.

Security ​

  • The script talks only to api.clauddy.com. It contacts a client's official install source only after you confirm installing a missing client. If Node.js is missing it can, after confirmation, install the official LTS from nodejs.org into ~/.clauddy/node without touching any existing Node.js.
  • Every modified config file is backed up first.
  • Source is public: GitHub. You can also download install.sh, read it, and run bash install.sh locally.

Flags ​

Current version 0.5.2.

bash
# Chinese interface (default)
curl -fsSL https://docs.clauddy.com/install.sh | bash

# Run locally
bash install.sh [--lang zh|en] [--yes]

Changing config later ​

Run the script again. It replaces the content between the # >>> clauddy setup >>> markers and backs up again. To edit by hand, see "Manual setup" on each client page.

Clauddy | AI API 聚合平台