Climier
Getting started

Install Climier

Install the Climier CLI from npm or as a standalone binary, verify it, and keep it updated.

Climier is a JSON-first command-line tool for coordinating tasks, decisions, and knowledge in a project DAG. It ships through two channels that expose the same climier command:

  • the npm package, which runs on Bun;
  • a standalone binary, self-contained with no runtime dependency; it includes the web UI.

Pick one. The rest of this guide uses climier.

Requirements

  • npm package: Bun 1.4 or newer. The published bin is a Bun entrypoint, so it runs with the Bun runtime.
  • Standalone binary: none. The binary is self-contained.

Windows is supported through the standalone binary only. The npm package and the shell installer target Linux and macOS.

Verify Bun when you use the npm channel:

bun --version

Install from npm

bun add --global climier

Install the standalone binary

Installer (Linux and macOS)

curl -fsSL https://github.com/codefensory/climier/releases/latest/download/install.sh | sh

The installer detects the platform, downloads the matching binary, verifies its SHA-256 against the release checksums, and writes climier to ~/.local/bin. If that directory is not on your PATH, it prints the export PATH=... line to add.

VariableEffect
CLIMIER_INSTALL_DIRDestination directory (default ~/.local/bin).
CLIMIER_VERSIONInstall a specific version instead of latest, for example 1.0.0.

A failed checksum aborts the install without writing the binary.

Manual download

Download the binary for your platform from the latest release:

PlatformAsset
Linux x64climier-linux-x64
Linux arm64climier-linux-arm64
macOS x64climier-darwin-x64
macOS arm64climier-darwin-arm64
Windows x64climier-windows-x64.exe

On Windows, rename the downloaded climier-windows-x64.exe to climier.exe and add its folder to your PATH. On Linux and macOS:

chmod +x climier-linux-x64
mv climier-linux-x64 ~/.local/bin/climier

SHA256SUMS in the same release lists the expected checksum of every platform binary; manifest.json is the machine-readable index used by climier upgrade.

Run without installing

For a one-off command with the npm package, use bunx:

bunx climier --help

Verify the installation

climier --version
climier version --json

climier version --json reports distribution (binary, npm, source-link, or one-off) and the state schema the build reads.

Start the web UI

Run climier ui from a project to open its local, read-only web UI. The standalone binary already contains the UI bundle, so it does not need the source checkout or a separate UI build. npm and source-link installs serve the packaged or locally built ui/dist bundle.

For a self-hosted remote server, the standalone binary also serves the embedded UI at /. uiRoot is optional; set it only when serving a custom UI build instead of the bundled one. See Self-hosting for server setup.

Update

climier upgrade --check    # compare against the published manifest, change nothing
climier upgrade            # install the latest version for this channel

The command is channel-aware: the npm install delegates to the owning package manager, and the binary install verifies the new checksum and replaces the executable atomically. Pin or downgrade explicitly with climier upgrade --version <X.Y.Z>. A checkout (source-link) and one-off executions do not update themselves.

A running server keeps the executable it started with: restart its service after upgrading so it picks up the new binary, and complete any state migration while every writer is stopped before restarting it. Upgrading an install that lives in a root-owned directory, such as /usr/local/bin, needs the privileges that can write there.

Next step

Continue to Quickstart to initialize a project and add your first task. For exact flags, result shapes, and exit codes, see the CLI reference.

On this page