Qoc

Install on macOS

Step-by-step instructions for installing the Qoc CLI on macOS using the install script or the Homebrew-style tap.


Install qoc on macOS in under two minutes using the official install script or the Homebrew-style tap — both deliver a verified, auto-updating binary.

Prerequisite: Node 20+

Confirm node --version returns v20 or later before proceeding. If not, install Node via brew install node or the official installer at nodejs.org.

  1. 1

    Run the install script

    Open Terminal and run the one-line installer. It downloads the latest signed binary, places it in /usr/local/bin/qoc, and verifies the checksum automatically.

  2. 2

    Confirm the binary is on your PATH

    Run which qoc. You should see /usr/local/bin/qoc. If the shell cannot find it, add /usr/local/bin to your PATH in ~/.zshrc and reload with source ~/.zshrc.

  3. 3

    Start the desk service

    Run qoc up to start the local service. It binds to localhost:7070 and writes a PID file to ~/.qoc/service.pid. Leave this terminal session open or run it in the background with qoc up --daemon.

  4. 4

    Verify the installation

    Open a new terminal tab and run qoc status. You should see the version number and service running in the output.

Install script command

Paste this into Terminal
bash
curl -fsSL https://qoc.app/install.sh | bash

Option B — Homebrew-style tap

  1. 1

    Add the Qoc tap

    Run brew tap qoc-app/qoc to register the tap. This only needs to be done once per machine.

  2. 2

    Install the formula

    Run brew install qoc. Homebrew resolves the Node dependency automatically if it is not already present.

  3. 3

    Start and verify

    Run qoc up and then qoc status in a new terminal to confirm the service is running.

Homebrew tap commands

bash
brew tap qoc-app/qoc
brew install qoc
qoc up
qoc status

First-run checks

On first launch, macOS Gatekeeper may prompt you to confirm the binary is safe to run. Open System Settings → Privacy & Security and click Allow Anyway next to the qoc entry, or run xattr -d com.apple.quarantine /usr/local/bin/qoc to clear the quarantine flag from the command line.

The service writes logs to ~/.qoc/logs/service.log. If qoc up exits immediately, check that file for a port conflict — you can change the default port in desk.toml under the [workspace] section.

Auto-updates via tap

If you installed via the Homebrew tap, brew upgrade qoc updates to the latest release. If you used the install script, re-run it to upgrade — it is idempotent and will not overwrite your workspace.