tldraw/apps/docs/content/getting-started/installation.mdx

29 lines
778 B
Text
Raw Normal View History

2023-04-25 11:01:25 +00:00
---
title: Installation
status: published
author: steveruizok
date: 3/22/2023
order: 1
---
At the moment the `@tldraw/tldraw` package is in alpha. We also ship a canary version which is always up to date with the main branch of tldraw [repository](https://github.com/tldraw/tldraw).
## Alpha
First, install the `@tldraw/tldraw` package using `@alpha` for the latest.
2023-04-25 11:01:25 +00:00
```bash
yarn add @tldraw/tldraw@alpha
2023-04-25 11:01:25 +00:00
# or
npm install @tldraw/tldraw@alpha
2023-04-25 11:01:25 +00:00
```
## Canary
To get the very latest version, use the [latest canary release](https://www.npmjs.com/package/@tldraw/tldraw?activeTab=versions). Docs for the very latest version are also available at [canary.tldraw.dev](https://canary.tldraw.dev).
```bash
yarn add @tldraw/tldraw@canary
# or
npm install @tldraw/tldraw@canary
```