---
title: "Installation Reference"
editUrl: true
head: []
template: "doc"
sidebar: {"order":6,"hidden":false,"attrs":{}}
pagefind: true
draft: false
---

Complete installation reference for all Arete client SDKs.

:::tip[New to Arete?]
Start with the [Quickstart](/using-stacks/quickstart) to scaffold a working app, or [Connect to a Stack](/using-stacks/connect/) to add Arete to an existing project.
:::

:::note[Building your own stack?]
If you're creating a custom data feed, see [Building Stacks → Environment Setup](/building-stacks/installation) instead.
:::

---

## TypeScript (Core)

For Node.js, Vue, Svelte, or vanilla JS:

```bash
npm install arete-typescript
```

Framework-agnostic with AsyncIterable-based streaming. No peer dependencies.

---

## TypeScript (React)

For React applications:

```bash
npm install arete-react
```

**Peer dependencies:** `react` ^19.0.0, `zustand` ^4.0.0

```bash
npm install react zustand
```

:::note[Which package?]

- **React/Next.js** → `arete-react`
- **Everything else** → `arete-typescript`
  :::

---

## Rust

Add to your `Cargo.toml`:

```toml
[dependencies]
a4-sdk = "{{VERSION}}"
```

---

## Next Steps

- [Quickstart](/using-stacks/quickstart) — Scaffold a working app in under 2 minutes
- [React SDK](/sdks/react/) — Build a complete React app
- [TypeScript SDK](/sdks/typescript/) — Use with Node.js, Vue, Svelte
- [Rust SDK](/sdks/rust/) — Native Rust client

---

## CLI

The Arete CLI (`a4`) handles project scaffolding, deployment, and SDK generation.

**Via npm (global):**

```bash
npm install -g @usearete/a4
```

Or use without installing:

```bash
npx @usearete/a4 --help
```

**Via Cargo:**

```bash
cargo install a4-cli
```

---

## Troubleshooting

| Issue                          | Solution                                   |
| ------------------------------ | ------------------------------------------ |
| `Cannot find module 'arete-*'` | Run `npm install` for the relevant package |
| Peer dependency warnings       | Install `react` and `zustand` explicitly   |
