README: Update
This commit is contained in:
parent
58780d6c5c
commit
9b8bd434e9
2 changed files with 11 additions and 4 deletions
|
|
@ -58,8 +58,7 @@ A browser window will open with `out.svg` and live-reload on changes to `in.d2`.
|
||||||
|
|
||||||
## Install
|
## Install
|
||||||
|
|
||||||
For more detailed installation docs with examples for if you do not wish to use the
|
For detailed installation docs with examples see [./docs/INSTALL.md](./docs/INSTALL.md).
|
||||||
install script see [./doc/INSTALL.md](./doc/INSTALL.md).
|
|
||||||
|
|
||||||
### Install script
|
### Install script
|
||||||
|
|
||||||
|
|
@ -76,8 +75,9 @@ curl -fsSL https://d2lang.com/install.sh | sh -s --
|
||||||
|
|
||||||
We have precompiled binaries on the [releases](https://github.com/terrastruct/d2/releases)
|
We have precompiled binaries on the [releases](https://github.com/terrastruct/d2/releases)
|
||||||
page for macOS and Linux. For both amd64 and arm64. We will release package manager
|
page for macOS and Linux. For both amd64 and arm64. We will release package manager
|
||||||
distributions like .rpm, .deb soon. We also want to get D2 on Homebrew for macOS
|
distributions like .rpm, .deb soon. d2 is on homebrew with our tap. See [./docs/INSTALL.md](./docs/INSTALL.md).
|
||||||
and release a docker image.
|
|
||||||
|
We'll have a docker image soon too.
|
||||||
|
|
||||||
To uninstall:
|
To uninstall:
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,7 @@ This file documents all the ways by which you can install d2.
|
||||||
- [install.sh](#installsh)
|
- [install.sh](#installsh)
|
||||||
- [Standalone](#standalone)
|
- [Standalone](#standalone)
|
||||||
- [macOS (Homebrew)](#macos-homebrew)
|
- [macOS (Homebrew)](#macos-homebrew)
|
||||||
|
- [From Source](#from-source)
|
||||||
|
|
||||||
<!-- tocstop -->
|
<!-- tocstop -->
|
||||||
|
|
||||||
|
|
@ -66,3 +67,9 @@ For macOS you may install as so:
|
||||||
brew tap terrastruct/d2
|
brew tap terrastruct/d2
|
||||||
brew install d2
|
brew install d2
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## From Source
|
||||||
|
|
||||||
|
```sh
|
||||||
|
go install oss.terrastruct.com/d2/cmd/d2@latest
|
||||||
|
```
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue