docs/INSTALL.md: Document minimum Go version required

This commit is contained in:
Anmol Sethi 2022-12-18 12:42:50 -08:00
parent 72dfbf708f
commit 9e0ab9c6f2
No known key found for this signature in database
GPG key ID: 25BC68888A99A8BA

View file

@ -158,6 +158,8 @@ You can always install from source:
go install oss.terrastruct.com/d2@latest
```
You need at least Go v1.18
### Source Release
To install a release from source clone the repository and then:
@ -173,6 +175,8 @@ fonts and icons. Furthermore, when installing a non versioned commit, installing
will ensure that `d2 --version` works correctly by embedding the commit hash into the `d2`
binary.
Remember, you need at least Go v1.18
## Windows
We have prebuilt releases of d2 available for Windows via `.msi` installers. The installer