Getting started

Installation

Install the Inspector CLI on your machine using your preferred method. The CLI is available for macOS, Linux, and Windows.

Install Inspector CLI

bash
curl -fsSL https://cli.inspectorai.pro/install.sh | bash

After installation

Navigate to the directory you want to work in and run:

cd /path/to/your/project
inspector

This starts the interactive CLI. From here you can log in, bind your project, and manage your local executor.

CLI commands reference

CommandDescription
bindBind the current folder to an Inspector workspace project
execRun Inspector non-interactively
loginManage authentication login
logoutRemove stored authentication credentials
completionGenerate shell completion scripts
updateCheck for and install Inspector CLI updates
serveRun the bundled ai_local runtime in the foreground
startStart the bundled ai_local daemon
stopStop the bundled ai_local daemon
statusShow the bundled ai_local daemon status
logsShow bundled ai_local runtime logs
resumeResume a previous interactive session (use --last to continue the most recent)
helpPrint help for the given command

Update Inspector CLI

To update to the latest version, re-run the install command for your platform, or use the built-in update command:

inspector update