Arete documentation
Installation Reference
For the complete documentation index optimized for AI agents, see llms.txt or llms-full.txt. A markdown version of this page is available by appending.mdto the URL or sendingAccept: text/markdown.
For AI agents: the documentation index is at llms.txt (full corpus: llms-full.txt). A markdown source for this page is /using-stacks/installation.md.
Every Arete client SDK and how to install it, in one place. If your agent is building the app, it normally runs these installs as part of that work. This page is here for when you want to check or change something by hand.
TypeScript (Core)
Section titled “TypeScript (Core)”For Node.js, Vue, Svelte, or vanilla JS:
npm install @usearete/sdkFramework-agnostic with AsyncIterable-based streaming. No peer dependencies.
TypeScript (React)
Section titled “TypeScript (React)”For React applications:
npm install @usearete/react @usearete/sdk zodReact is an application peer dependency. zustand is a normal dependency of @usearete/react and must not be installed separately. Generated stack files use the core SDK and Zod directly, so generated React consumers install all three packages shown above.
For a hosted browser stack, provide the publishable key required by its exact
descriptor and pass it to AreteProvider as auth={{ publishableKey }}.
Read-only viewing may require authentication but does not require a wallet.
Add to your Cargo.toml:
[dependencies]a4-sdk = "0.51.2"Next Steps
Section titled “Next Steps”- Quickstart — Scaffold a working app in under 2 minutes
- React SDK — Build a complete React app
- TypeScript SDK — Use with Node.js, Vue, Svelte
- Rust SDK — Native Rust client
The Arete CLI (a4) handles project scaffolding, deployment, and SDK generation. Install the prebuilt binary:
curl -fsSL https://arete.run/install.sh | sh # macOS / Linuxirm https://arete.run/install.ps1 | iex # Windows PowerShellnpx @usearete/a4 install # if you prefer npmThe binary lands in ~/.local/bin/a4 (override with A4_INSTALL_DIR) and the installer prints A4_BIN=<absolute path>. Verify and update with:
a4 doctor --jsona4 self updateFull installer options: CLI Command Reference → Installation.
Building from source
Section titled “Building from source”Only if you need an unreleased build. It requires a Rust toolchain and is not the supported install path:
cargo install a4-cliTroubleshooting
Section titled “Troubleshooting”| Issue | Solution |
|---|---|
Cannot find module '@usearete/*' | Install the React, core SDK, and Zod packages shown above |
| React peer dependency warning | Install the React version required by your application |