Skip to content

Contributing & development

To build cm:

  1. Install Go 1.27 or newer — the module declares go 1.27, so older toolchains cannot build it.

  2. Clone cm source:

    Terminal window
    git clone https://github.com/WebSummoner/cm.git
  3. Go to project directory:

    Terminal window
    cd cm
  4. Build source:

    Terminal window
    go build

    This will also fetch build dependencies.

  5. Run cm:

    Terminal window
    ./cm --help

These docs are an Astro Starlight site under docs-site/. Node is not required on your machine — run it in a container:

Terminal window
docker run --rm -v "$PWD/docs-site":/app -w /app node:24 \
sh -c 'npm ci && npm run build'