Skip to content

Installation

cicord is a single static binary: the command line tool and the runtime (cicord serve), with the admin console, the default community portal and the plugin toolkit embedded in it. Running it needs no Node.js: plugins are bundled by the runtime itself (esbuild used as a Go library), git is handled in Go and SQLite is a pure Go driver.

Every release (tag v<version>) publishes:

What Where
Binaries GitHub Releases: linux and darwin (amd64, arm64), windows (amd64)
Container image ghcr.io/cicord/cicord:<version> (linux/amd64, linux/arm64)
npm packages (portal, SDK) @cicord/sdk, @cicord/client, @cicord/react, @cicord/ui
  1. Pick the version and your platform, then download the archive and checksums.txt from the release (with the GitHub CLI, or from the Releases page):

    Terminal window
    VERSION=0.1.0 OS=linux ARCH=amd64 # OS: linux | darwin, ARCH: amd64 | arm64
    gh release download "v$VERSION" --repo cicord/cicord \
    --pattern "cicord_${VERSION}_${OS}_${ARCH}.tar.gz" --pattern checksums.txt

    On Windows, the archive is cicord_<version>_windows_amd64.zip and holds cicord.exe.

  2. Verify it (see Verify a download):

    Terminal window
    sha256sum --ignore-missing -c checksums.txt # macOS: shasum -a 256 --ignore-missing -c checksums.txt
    gh attestation verify "cicord_${VERSION}_${OS}_${ARCH}.tar.gz" --repo cicord/cicord
  3. Extract cicord and put it on your PATH:

    Terminal window
    tar -xzf "cicord_${VERSION}_${OS}_${ARCH}.tar.gz" cicord
    sudo install cicord /usr/local/bin/

    The archive also holds LICENSE, NOTICE and README.md. The binaries are not signed for macOS Gatekeeper: if you downloaded the archive with a browser, remove the quarantine flag with xattr -d com.apple.quarantine cicord.

Each release is built by the repository’s release workflow on GitHub Actions, which signs build provenance attestations (Sigstore) for every archive and for the image: proof that the file was built by cicord/cicord’s .github/workflows/release.yml from the tagged commit.

  • Checksums: checksums.txt lists the SHA-256 of every archive and SBOM: sha256sum --ignore-missing -c checksums.txt.
  • Archive provenance: gh attestation verify <archive> --repo cicord/cicord (add --signer-workflow cicord/cicord/.github/workflows/release.yml to also pin the workflow).
  • SBOM: every archive has an SPDX SBOM next to it on the release, <archive>.sbom.json.
  • Image provenance: gh attestation verify oci://ghcr.io/cicord/cicord:<version> --repo cicord/cicord. The image also carries BuildKit’s SBOM and SLSA provenance: docker buildx imagetools inspect ghcr.io/cicord/cicord:<version> --format '{{ json .SBOM }}' (or .Provenance). The attestation is stored in the registry too, so cosign verify-attestation works without the GitHub API (see RELEASING.md).
  • npm packages: published by the repository’s release-npm.yml workflow with provenance: the npm page of each package shows the provenance badge, and npm audit signatures checks them in your project.

Then check the installation:

Terminal window
cicord version
cicord 0.1.0 (e6e4f37)

The first part is the version, the second the git commit the binary was built from. Then list the commands:

Terminal window
cicord --help

The JSON Schemas of every file live in spec/schemas/ of the Cicord repository. With the YAML language server (VS Code YAML extension and others), add a schema comment at the top of a file to get completion and validation:

servers/ma-commu.yaml
# yaml-language-server: $schema=../../cicord/spec/schemas/server.schema.json
apiVersion: cicord.dev/v1alpha1
kind: Server

The path is relative to the file; point it at your checkout of Cicord.

The workflow written by cicord init (.github/workflows/cicord.yml) only needs the CLI (cicord validate, cicord plan --remote, cicord status --wait). It installs it with go install github.com/cicord/cicord/cmd/cicord@latest, which builds the command line tool without the embedded UIs. That is fine for CI, not for running the runtime. See Your first change.

  • Quick start: set up a server with the wizard, or try Cicord offline.
  • Deploy: run cicord serve for real.