@@ -17,19 +17,42 @@ Claude Opus 4.6 costs $5/$25 per Mtok.
1717Qwen 3 Coder Next costs $0.12/$0.75 per Mtok.
1818That's 42x cheaper on input, 33x cheaper on output.
1919
20- ## Quick Start
20+ ## Installation
21+
22+ ### Standalone Binary (recommended)
23+
24+ No Node.js required — download a single binary:
25+
26+ ** macOS / Linux:**
27+
28+ ``` bash
29+ curl -fsSL https://raw.githubusercontent.com/claudlos/cloding/master/install.sh | bash
30+ ```
31+
32+ ** Windows (PowerShell):**
33+
34+ ``` powershell
35+ irm https://raw.githubusercontent.com/claudlos/cloding/master/install.ps1 | iex
36+ ```
37+
38+ ### npm
39+
40+ If you already have Node.js 18+:
2141
2242``` bash
23- # Install cloding
2443npm install -g cloding
44+ ```
2545
26- # Install at least one tool CLI (Claude is default)
27- npm install -g @anthropic-ai/claude-code
46+ ## Quick Start
2847
29- # Required for default/OpenRouter shortcuts
48+ ``` bash
49+ # Set your OpenRouter API key
3050export OPENROUTER_API_KEY=sk-or-v1-your-key-here
3151
32- # Start interactive session (default model: qwen)
52+ # Install all CLI tools (Claude Code, Gemini, Codex, Copilot, OpenCode)
53+ cloding setup
54+
55+ # Start coding
3356cloding
3457```
3558
@@ -43,6 +66,30 @@ cloding --list-models # list shortcuts and prices
4366cloding -h # help
4467```
4568
69+ ## Setup Command
70+
71+ ` cloding setup ` detects and installs all supported CLI tools:
72+
73+ ``` bash
74+ cloding setup # check status + install missing tools
75+ cloding setup --check # status report only, no installation
76+ cloding setup --force # reinstall all tools
77+ ```
78+
79+ It checks for:
80+
81+ ** Prerequisites** (detected, not installed):
82+ - Node.js 18+
83+ - Python 3.11+ (for pipeline mode)
84+ - Docker (for Docker mode)
85+
86+ ** CLI Tools** (detected + installed automatically):
87+ - Claude Code — via native installer
88+ - Gemini CLI — via npm
89+ - Codex CLI — via npm
90+ - GitHub Copilot CLI — via npm
91+ - OpenCode — via npm
92+
4693## Authentication
4794
4895Each Anthropic model (haiku, sonnet, opus) supports three routing modes:
@@ -157,6 +204,14 @@ cloding -m copilot # use GitHub paid plan
157204
158205Unknown flags are passed through to the underlying CLI.
159206
207+ ### Setup
208+
209+ ``` bash
210+ cloding setup # detect + install missing CLI tools
211+ cloding setup --check # status report only
212+ cloding setup --force # reinstall all tools
213+ ```
214+
160215### Docker Mode
161216
162217``` bash
@@ -212,21 +267,13 @@ Pipeline flags:
212267
213268## Prerequisites
214269
215- - Node.js 18+
216- - Node.js 24+ if you want to run ` copilot ` / ` cloding -m copilot `
217- - OpenRouter key for default/OpenRouter shortcuts
218- - Docker (optional, for Docker mode)
219- - Python 3.11+ (optional, for pipeline mode)
220-
221- Install CLIs you plan to use:
270+ - ** OpenRouter key** — for default/OpenRouter shortcuts ([ get one here] ( https://openrouter.ai/keys ) )
271+ - ** Node.js 18+** — required for CLI tool installs (Claude Code, Gemini, etc.)
272+ - ** Node.js 24+** — if you want to run ` copilot ` / ` cloding -m copilot `
273+ - ** Docker** — optional, for Docker mode
274+ - ** Python 3.11+** — optional, for pipeline mode
222275
223- ``` bash
224- npm install -g @anthropic-ai/claude-code
225- npm install -g @google/gemini-cli
226- npm install -g @openai/codex
227- npm install -g @github/copilot
228- npm install -g opencode-ai
229- ```
276+ > ** Tip:** Run ` cloding setup ` to automatically detect and install all CLI tools.
230277
231278## Custom Models
232279
0 commit comments