Skip to content

Installation

Requirement Detail
Node.js >= 20
Module format ESM only ("type": "module")
The CLI itself ActiveCLI drives an installed CLI; it does not bundle one

The CLI must be installed and authenticated on the machine. ActiveCLI locates it and runs it; it never handles credentials.

Terminal window
npm install activecli

Every public class is exported from the package root:

import { Claude, Command, AssistantEvent } from 'activecli';

There is no deep-import path to learn. If a class is part of the public surface, it is on the root export — see What you can import for the full list.