Install the CLI
The hlix CLI is the local entry point for moving a project into a hlix workspace and keeping both copies in sync.
Install
npm install --global @hlix/clihlix --versionnpx @hlix/cli --helpIn CI, and anywhere the toolchain must not change underneath you, pin the version instead of floating to latest:
npm install --global @hlix/cli@0.2.0Prerequisites
Section titled “Prerequisites”- macOS or Linux
- Node.js 20 or later
- Git
- A hlix API key and workspace ID — create both in Developer tools → API keys
Verify the install
Section titled “Verify the install”hlix --versionhlix --helpExpected result: the first prints a semantic version, the second prints the registered command table.
If installation fails
Section titled “If installation fails”hlix: command not foundright after a successful install: your globalnpmbin directory is not onPATH. Checknpm bin -g, add it to your shell profile, then open a new shell.EACCES: permission deniedduring a global install: npm is trying to write to a root-owned prefix. Set a user-writable prefix (npm config set prefix ~/.npm-global) rather than installing withsudo.SyntaxErroror an engine warning on startup: confirmnode --versionis 20 or later.npm error E404: check the package name —@hlix/cliis the only CLI package. Current versions lists what the registry serves.hlix --versionprints an older number than you installed: an earlier binary is still first onPATH.which -a hlixshows which one wins.brewcannot find the formula: the Homebrew tap is announced separately from npm. Use npm meanwhile.
Next steps
Section titled “Next steps”AuthenticateVerify an API key and select the workspace the CLI may act in.
Quickstart: ship your first taskImport a project, start a run, and read what an agent delivered.
CLI referenceEvery command, the JSON envelope, and the exit codes.
Current versionsThe published version of each hlix package.