Skip to content

Olares CLI

olares-cli is the command-line tool for Olares. It is included when you install Olares, and you can also install the standalone Olares CLI on macOS, Windows, or Linux without installing the full OS. You can use it for the following tasks:

  • Manage the cluster: install Olares on a new machine, upgrade between releases, add or remove nodes, and uninstall completely.
  • Diagnose and repair the system: run pre-installation checks, collect logs, query node status, and troubleshoot issues.
  • Drive Olares from an AI agent: let a personal agent manage files, apps, and settings on your behalf through natural language.

Modes of Olares CLI

Olares CLI is available through three modes that differ in where they run and how they authenticate.

ModeWhere it runsHow it authenticates
Host modeOn the same machine as the Olares OSHost root and kubeconfig. No login required.
User mode ^1.12.5On any machine with olares-cli installed,
on behalf of a logged-in user
Profile and access token via the same HTTP API as the web UI and LarePass
In-cluster mode ^1.12.6Inside an Olares app's containerCredentials injected as environment variables, with scope set by the app's OlaresManifest

TIP

To use Olares CLI in user mode, install the CLI with npm. If the olares-cli already on your host predates the version shown in the table, the agent commands may not be available. See Install olares-cli.

Drive Olares from an AI agent

To let an AI agent run Olares CLI on your behalf:

  1. Install the CLI and the Agent Skills. The recommended npx @olares/cli install sets up both at once. See Install olares-cli.
  2. Log in with your Olares ID. See Log in to Olares.
  3. Drive Olares in natural language through your agent.

Learn more