2022-11-21 12:08:40AM
This commit is contained in:
parent
975512ecee
commit
785650ec6a
1 changed files with 15 additions and 1 deletions
16
README.md
16
README.md
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue