2022-11-21 12:08:40AM

This commit is contained in:
Alexander Wang 2022-11-21 00:08:40 -08:00
parent 975512ecee
commit 785650ec6a
No known key found for this signature in database
GPG key ID: D89FA31966BDBECE

View file

@ -22,8 +22,12 @@ You can see the `.d2` text for these in [./docs/d2](./docs/d2). Samples are
## Installation
### Install script
The most convenient way to install is through the install script.
```sh
curl -fsSL https://d2lang.com/install.sh | sh -s -- --tala --dryrun
curl -fsSL https://d2lang.com/install.sh | sh -s -- --tala --dry-run
# If things look good, install for real.
curl -fsSL https://d2lang.com/install.sh | sh -s -- --tala
```
@ -33,6 +37,16 @@ You can also find binaries
both AMD and ARM. Download the appropriate one for your OS to a directory
in your path. Windows coming soon.
### macOS (Homebrew)
If you're on macOS, you can alternatively install with `brew`. (the install script above
does this automatically if you have `brew` installed).
```sh
brew tap terrastruct/d2
brew install tala
```
### Post-install
Check that it was installed properly: