Get started

Install CyxCode

Grab a prebuilt binary for Linux, macOS, or Windows (via WSL / Git Bash). The installer drops the cyxcode binary into ~/.opencode/bin and adds it to your PATH.

1 · Primary install

curl -fsSL https://raw.githubusercontent.com/code3hr/cyxcode/HEAD/install | bash

Latest release. Works on Linux, macOS, and Windows under WSL / Git Bash.

2 · Pin the latest release

curl -fsSL https://raw.githubusercontent.com/code3hr/cyxcode/HEAD/install | bash -s -- --version 3.0.3

Latest GitHub release: v3.0.3. Useful for stable automation and reproducible environments.

3 · Upgrade in place

Already running CyxCode? Use /update inside the runtime — it checks the latest GitHub release and runs the installer for you.

/update runs inside CyxCode

Note for v2.2.x, v2.3.0, v2.3.1 installs: those builds had a broken upgrade URL. Run the primary install once to land on v2.3.2+ — auto-upgrades work from then on.

From source

Prefer to build it yourself?

$ git clone https://github.com/code3hr/cyxcode.git
$ cd cyxcode
$ bun install
$ export ANTHROPIC_API_KEY=sk-ant-...   # or OPENAI_API_KEY
$ bun run dev

For CPUs without AVX2, see the performance docs.

First run

Initialize your project

/cyxinit

Run inside CyxCode to scaffold .cyxcode/ with slash commands, memory/, patterns/, codegraph/, config, and gitignore entries.

cyxcode init

Same result from your shell, outside the TUI. Project type detection runs automatically.

Ready to stop repeating costs?

One install, and every solved error becomes a free one.

View on GitHub →