Install Codeg
Choose the installation method that matches your platform.The installer downloads the latest
codeg-server binary and web assets, installs them to /usr/local/bin (Linux/macOS) or %LOCALAPPDATA%\codeg (Windows), and adds the binary to your PATH.Prefer a desktop app or Docker? See the Installation page for all options.Start the server
Run the server binary from your terminal:On first start, Codeg generates a random auth token and prints it to stderr:Copy the token — you will need it to sign in. The server listens on port
3080 by default.To set a fixed token instead of using the random one, start the server with
CODEG_TOKEN:Open the web UI and authenticate
Navigate to http://localhost:3080 in your browser.When prompted, paste the token that was printed to stderr. Codeg stores the token in your browser session so you only need to enter it once per device.
For API or scripted access, pass the token in the
Authorization header:Open a project and connect an agent
In the Codeg UI, click Open folder and select a project directory on your machine. Codeg scans the directory and auto-detects installed agents based on their local data paths.Select an agent from the agent panel — Claude Code, Codex CLI, OpenCode, Gemini CLI, OpenClaw, or Cline — and Codeg loads its existing conversation history immediately.
Next steps
Supported agents
Configure agent paths, environment variables, and connection settings.
Chat channels
Connect Telegram, Lark, or iLink to control agents from your phone.