comma CLI
Install, launch, and manage CommaAgents with the unified comma command.
comma CLI
The comma command is the primary entrypoint for CommaAgents. It launches the TUI, starts the daemon when needed, manages daemon autostart, and validates the local installation.
Install
Install from npm:
npm install -g @comma-agents/cli@next
comma installThe npm package requires Bun 1.3 or newer. It contains a bundled launcher, so it does not install the TUI, daemon, and core as separate global packages.
For a one-line installer, run the platform bootstrap script for your operating system and it will install the CLI package before opening comma install.
curl -fsSL https://commaagents.com/install | bashOn Windows, run the PowerShell installer:
iwr https://commaagents.com/install.ps1 -useb | iexThe bootstrap scripts install a platform-native standalone executable to a user-local directory. That executable includes the Bun runtime and the CLI, TUI, daemon, and core packages.
Register A Development Checkout
From the repository root, build and register the workspace CLI in Bun's global bin directory:
bun run cli:link
comma --helpRemove the development link with bun run cli:unlink. To run without registering it, use bun run cli --help.
Build Distribution Artifacts
Build the Bun-based npm launcher:
bun run cli:buildBuild a standalone executable for the current platform, or all release targets:
bun run cli:build:standalone
bun run --cwd packages/cli build:standalone allVersion tags matching v* publish all four public packages with npm trusted publishing, build macOS, Linux, and Windows archives, and publish a GitHub Release.
Launch The TUI
commacomma checks the daemon first. If the daemon is not running, it starts it in the background, waits for readiness, and then opens the terminal UI.
You can pass the same launch options as the TUI:
comma --strategy Plan --input "Review this repo"
comma tui --daemon-url ws://127.0.0.1:7422/wsManage The Daemon
comma daemon start
comma daemon status
comma daemon status --json
comma daemon stop
comma daemon restartAutostart is explicit. Run the installer or use these commands:
comma daemon enable
comma daemon disableThe autostart mechanism is user-level: launchd on macOS, systemd user services on Linux, and a Windows logon scheduled task on Windows.
Check The Installation
comma doctor
comma doctor --jsonDoctor checks runtime availability, daemon config, daemon state, writable data directory, autostart support, PATH visibility, and provider configuration files.
Uninstall
Run the interactive uninstaller:
comma uninstallThe command stops the daemon, disables and removes daemon autostart, and removes the standalone executable or detected global package installation. It separately asks whether to remove conversation history, installed Hub and provider packages, and remaining configuration such as credentials, logs, trash, global skills, and strategies.
For non-interactive removal, pass --yes and the data categories to delete:
comma uninstall --yes --remove-history --remove-packages --remove-configData-removal flags default to false when --yes is used.