Jarvis Docs
CLI Reference

CLI Overview

Command-line interface for Nous-OSS

CLI Overview

The Nous CLI provides a terminal interface to the same backend as the web UI. Both consume the tRPC API.

Running the CLI

# From the repo root, after pnpm install
pnpm dev:cli -- <command> [options]

# Or via the CLI package directly
pnpm --filter @nous/cli run dev -- <command>

Installer Command

For guided local setup, use:

node scripts/bootstrap/install.mjs
nous install

Global Options

OptionDescriptionDefault
--api-url <url>API base URLhttp://localhost:4317
-p, --project <id>Project ID for contextNone
--jsonOutput as JSONOff

Commands

CommandDescription
send <message>Send a message to Nous
projects listList all projects
projects create --name <name>Create a new project
projects switch -p <id>Switch active project
pkg discover [--project <id>]Show advisory marketplace suggestions
pkg install <package-id> --project <id>Install or update a package through the canonical install pipeline
config getGet current configuration
config setModify configuration
witness verify [--from <n>] [--to <n>]Generate a witness verification report
witness list [--limit <n>]List recent witness verification reports
witness get --id <report-id>Fetch a witness verification report by ID

Prerequisites

The backend must be running. Start it with:

pnpm dev:web

Then run CLI commands in another terminal.

Authentication

When the backend uses basic auth (NOUS_BASIC_AUTH), set the same variable in the environment when running the CLI:

NOUS_BASIC_AUTH=user:password pnpm dev:cli -- send "Hello"

On this page