Installation
Install Opta CLI globally via npm to activate the full local execution control plane. The CLI orchestrates daemon lifecycle, runtime routing, and every interactive or autonomous execution surface.
Use the platform selector at the top of the docs to render commands for macOS or Windows before running installation and validation steps.
Prerequisites
Before installing, make sure your system meets the following requirements:
| Requirement | Minimum | Recommended |
|---|---|---|
| Node.js | 20.0+ | 22.x LTS |
| Operating System | macOS 14+, Linux (x64/arm64), Windows 11+ | macOS 15 / Ubuntu 24.04 / Windows 11 |
| npm | 10.0+ | Latest |
Verify your Node.js version:
Install the CLI
Install globally via npm
This installs the opta command globally so it is available from any directory.
Verify the binary is on your PATH
The opta command should now be accessible from your terminal.
Check the installed version
Verify Installation
Run the built-in doctor command to check that your environment is correctly configured:
At this stage, it is expected that the daemon is not running and LMX is not configured. You will set those up in the following pages.
Smoke Test
Run a validation check to confirm the CLI initializes and responds as expected:
Check CLI status
The status command shows the current state of all components.
View available commands
List all top-level commands and their descriptions.
Check configuration
View the current config file location and active settings.
Updating
To update to the latest version, re-run the global install command:
You can also check if an update is available without installing:
Uninstalling
To remove the CLI from your workstation and optionally clear local Opta state: