CLI Installation

Install the Cortex CLI on your system.

Requirements

  • Node.js 18 or later
  • npm, yarn, or pnpm

Install

npm install -g @cortex-labs/cli

Verify

cortex --version

Platform Support

PlatformStatus
macOS (Apple Silicon)✅ Supported
macOS (Intel)✅ Supported
Linux (x64)✅ Supported
Linux (ARM64)✅ Supported
Windows (WSL)✅ Supported
Windows (native)⚠️ Untested

Updating

npm update -g @cortex-labs/cli

Uninstalling

npm uninstall -g @cortex-labs/cli

Uninstalling the CLI does not delete your credentials. Remove ~/.cortex/ manually if needed.