Add scoop & choco to windows install documentation

This commit is contained in:
Dyllan To 2025-01-21 16:44:57 -08:00 committed by GitHub
parent dc0e5fa607
commit 239552cac8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -209,6 +209,23 @@ under plain Windows.
aka Windows Subsystem for Linux if that's what you prefer. Installation is just like any aka Windows Subsystem for Linux if that's what you prefer. Installation is just like any
other Linux system. other Linux system.
### Native Package managers
Some people have created releases for d2 on windows package managers based on the prebuilt releases!
#### Scoop
[Scoop](https://scoop.sh/) is a package manager for windows. It can be used to install d2 by running
```sh
scoop install main/d2
```
#### Chocolatey
[Chocolatey](https://chocolatey.org/) is a package manager for windows. It can be used to install d2 by running
```sh
choco install d2
```
## Docker ## Docker
https://hub.docker.com/repository/docker/terrastruct/d2 https://hub.docker.com/repository/docker/terrastruct/d2