Prerequisites
2. Prerequisites & Environment Setup
Runtime requirements
| Requirement | Minimum Version |
|---|---|
| Node.js | 18 or later |
| pnpm | 8 or later (recommended) |
| Asyar app | Installed and running |
Install the Asyar CLI
The asyar-sdk npm package provides both the runtime SDK and the asyar CLI used throughout your entire development workflow.
npm install -g asyar-sdk
Verify installation:
asyar --version
Per-project dependencies
Every extension project needs at minimum:
pnpm add asyar-sdk svelte
pnpm add -D vite @sveltejs/vite-plugin-svelte typescript
The CLI scaffolder installs these automatically. You only need to run this manually if you are setting up a project by hand.