From 785650ec6ae3657434cad925f4ab31ea2617b2fb Mon Sep 17 00:00:00 2001 From: Alexander Wang Date: Mon, 21 Nov 2022 00:08:40 -0800 Subject: [PATCH] 2022-11-21 12:08:40AM --- README.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d5278c4..3e5d177 100644 --- a/README.md +++ b/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: