Install

Install BetterCoding

Start BetterCoding on your machine and open it in your browser.

Run from source

  1. Install the latest stable Rust, Node.js 20 or later, and pnpm 8 or later.
  2. Sign in to Claude Code or Codex on your machine.
  3. Clone the repository and open its directory:
    git clone https://github.com/miguelrisero/bettercoding.git
    cd bettercoding
  4. Install the Rust development tools:
    cargo install cargo-watch sqlx-cli
  5. Install the dependencies:
    pnpm i
  6. Start the dev server:
    pnpm run dev
  7. Open the web app on the assigned port.
  8. Choose your agent, editor and notification preferences.
  9. Create a workspace with a local Git repository and a target branch.

Build the CLI package

  1. Build the server binary with the web app embedded:
    pnpm run build:npx
  2. Package the CLI:
    cd npx-cli && pnpm pack