Skip to content

Installation

qcc runs on Linux (x86_64, aarch64) and macOS (Apple silicon, Intel). Windows is not supported: qccd listens on a unix socket. Releases are built by GitHub Actions and published on the releases page.

install.sh in the root of the repository installs the CLI, the daemon and the desktop app of the latest release, without root:

Terminal window
curl -LsSf https://raw.githubusercontent.com/quantk/qcc/main/install.sh | sh

It first finds the tag of the release: QCC_VERSION=vX.Y.Z names it (pre-releases included, curl ... | QCC_VERSION=v0.1.0 sh), otherwise it is the announcement_tag of the latest release's dist-manifest.json. Everything else is downloaded from that tag, so the parts always come from one release, and the tag gives the version in the names of the desktop bundles.

CLI and daemon. The script runs the shell installers that dist publishes with the release, one for qcc-cli and one for qcc-daemon, so both go to the same directory ($XDG_BIN_HOME, or ~/.local/bin): qccd hands agents the qcc next to it. The installers' own settings pass through the environment: QCC_CLI_INSTALL_DIR and QCC_DAEMON_INSTALL_DIR for another directory, QCC_CLI_NO_MODIFY_PATH=1 and QCC_DAEMON_NO_MODIFY_PATH=1 to leave the shell profiles alone.

Desktop app. QCC_NO_DESKTOP=1 or sh -s -- --no-desktop skips it; QCC_DESKTOP_INSTALL_DIR puts it elsewhere.

  • Linux x86_64: the script downloads qcc_<version>_amd64.AppImage and unpacks it with --appimage-extract to ~/.local/lib/qcc-desktop, so it runs without FUSE (libfuse2 is often missing), and writes qcc.desktop to ${XDG_DATA_HOME:-~/.local/share}/applications, which starts AppRun of the unpacked image with its icon. Running the script again replaces both. The app needs WebKitGTK 4.1 (Ubuntu 22.04 or newer, or an equivalent). ~/.local/lib/qcc is a different thing: the build ./dev app installs.
  • macOS: the script downloads qcc_<version>_aarch64.dmg (Apple silicon) or qcc_<version>_x64.dmg (Intel), attaches it with hdiutil, copies qcc.app to /Applications (to ~/Applications if /Applications is not writable), clears the quarantine flag and detaches the image. The app is not signed or notarized; with the flag Gatekeeper would call it damaged.
  • Linux aarch64 has no desktop build: the script says so and installs only the CLI and the daemon.

A bundle is checked against <bundle>.sha256 of the release (published by the desktop workflow), or its line in sha256.sum; without either the script warns that it is not verified.

At the end the script asks the running daemon for its version (qcc daemon status). If a qccd of another release is running, it says so with its pid: that daemon runs the old code and may speak another protocol than the new CLI and app. The script does not stop it, since it runs your threads; stop it yourself when the agents are idle and start the new one (or open the app, which starts it).

The dist installers can also be run by hand; install both:

Terminal window
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/quantk/qcc/releases/latest/download/qcc-cli-installer.sh | sh
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/quantk/qcc/releases/latest/download/qcc-daemon-installer.sh | sh

releases/latest is the latest final release; a pre-release is reached through its tag, releases/download/vX.Y.Z-rc.N/....

The same binaries are in the qcc-cli-<target>.tar.xz and qcc-daemon-<target>.tar.xz archives of the release, with a .sha256 next to each.

The desktop bundles can be installed by hand as well. They carry their own qccd and qcc:

  • Linux: qcc_<version>_amd64.deb (sudo apt install ./qcc_<version>_amd64.deb; it also puts qcc and qccd in /usr/bin) or qcc_<version>_amd64.AppImage (chmod +x and run it; this needs FUSE 2).

  • macOS: qcc_<version>_aarch64.dmg for Apple silicon, qcc_<version>_x64.dmg for Intel. After copying the app to Applications, clear the quarantine flag:

    Terminal window
    xattr -d com.apple.quarantine /Applications/qcc.app

The app starts the qccd bundled with it when no daemon is running; the daemon keeps running after the window is closed. If you have installed the CLI too, keep both from the same release: a daemon and an app of different protocol versions refuse to talk to each other.

qcc is developed on Linux. Everything builds inside a Nix flake, and ./dev enters it by itself:

Terminal window
git clone https://github.com/quantk/qcc.git && cd qcc
./dev app # build a release, install it to ~/.local/lib/qcc and open the app

The CLI of that build is ~/.local/lib/qcc/qcc; put the directory on your PATH to call it as qcc. Running ./dev app again rebuilds and updates it; see Desktop app. The other commands for working on qcc itself are in Development.

qcc does not bring an agent of its own. Install the agents you want and log in to them as usual:

Agent Program Provider Tested with
Claude Code claude claude-code Claude Code 2.1.325, 2.1.332
Codex codex codex codex-cli 0.166.0
opencode opencode opencode opencode 1.19.4

qcc finds them in PATH, or you can point it at a binary in the settings (qcc settings program, or Settings in the app). How each one is driven is described in Agents and sessions.

Everything goes through qccd, the daemon. The desktop app starts the qccd it carries when no daemon is running; without the app, start it yourself:

Terminal window
qccd # in the foreground; logs go to stderr
qcc daemon status # is it running, which version, where its data and socket are

The daemon keeps running after the app's window is closed, and agents go on working in it. Its data (the journal, installed plugins, settings) lives in ~/.local/share/qcc (--data-dir or QCC_DATA_DIR), and it listens on $XDG_RUNTIME_DIR/qcc/qccd.sock (--socket or QCC_SOCKET).

Next: Quick start.