ANTHRACODE

start

Install Anthracode.

Two paths: install the published binary from npm, or build from source. Most users want the npm route.

Option A — npm (recommended)

Node 18 or later is required.

~/terminal
npm i -g anthracode-ai

Verify the install:

~/terminal
anthracode --version

Option B — build from source

For contributors and people who want the absolute latest from anthracode/dev.

prerequisites

  • Bun 1.3.13 stable. Do not use canary — it crashes on bun compile on Windows x64.
  • Git, any version.
  • A terminal. Anthracode is TUI-only; no web, desktop, or hosted server target is supported in this branch.

Windows: make sure node-gyp prerequisites (Visual Studio Build Tools + Python) are on PATH if any native deps need rebuilding.

clone & install

~/terminal
git clone https://github.com/rafa57600/anthracode.git cd anthracode bun install

If bun install hangs on Windows, try a fresh cache dir:

~/terminal
bun install --cache-dir "$(mktemp -d)"

build the TUI binary

~/terminal
cd packages/opencode bun run script/build.ts --single --skip-install

This produces packages/opencode/bin/.anthracode — a self-contained executable.

install the command globally

npm link (recommended for development) creates a global anthracode command that runs via Bun with hot reload on source changes:

~/terminal
cd packages/opencode npm link

Or copy the binary to a directory on PATH:

~/terminal
# Linux / macOS cp packages/opencode/bin/.anthracode /usr/local/bin/anthracode chmod +x /usr/local/bin/anthracode

see something off? edit on github

Install · Anthracode