Skip to main content

Supported Node runtime

@xerg/cli supports Node 22 and 24.

Supported data sources

  • local OpenClaw logs and session transcripts
  • local Hermes logs and session transcripts
  • local Cursor usage CSV exports
  • OpenClaw SSH, Railway, and multi-source remote audits in this phase

Run without a global install

npx @xerg/cli doctor
npx @xerg/cli audit

Install globally

npm install -g @xerg/cli
xerg doctor
xerg audit

Native dependency note

@xerg/cli depends on better-sqlite3 for local snapshot storage. If install fails:
  • make sure you are on Node 22 or 24
  • retry after installing normal native build tooling for your platform
  • run npx @xerg/cli doctor once the install succeeds to confirm the package is working

Develop from this repo

If you are working from the Xerg repo itself:
nvm use
corepack prepare [email protected] --activate
pnpm install
pnpm lint
pnpm test
pnpm build
This repo pins the default development and release toolchain to Node 24.14.0 in .nvmrc.