Installation
Install VitalClaw via npm, pnpm, or yarn.
Requirements
| Dependency | Version | Required |
|---|---|---|
| Node.js | 22+ | Yes |
| TypeScript | 5.7+ | Recommended |
| @elizaos/core | 0.2+ | Only if using plugin |
Package Managers
# npm npm install @vitalclaw/sdk # pnpm (recommended) pnpm add @vitalclaw/sdk # yarn yarn add @vitalclaw/sdk
TypeScript Configuration
VitalClaw is written in TypeScript and ships with full type declarations. Recommended tsconfig.json settings:
{
"compilerOptions": {
"target": "ES2022",
"module": "Node16",
"moduleResolution": "Node16",
"strict": true,
"esModuleInterop": true
}
} Verify Installation
import { VitalClawEngine } from "@vitalclaw/sdk"; const engine = new VitalClawEngine({ userId: "test", providers: [] }); console.log(engine.getStats()); // { totalDataPoints: 0, ... }