From 239552cac873c5a3396014d7628e8556c29b4b3c Mon Sep 17 00:00:00 2001 From: Dyllan To <1279360+dyllan-to-you@users.noreply.github.com> Date: Tue, 21 Jan 2025 16:44:57 -0800 Subject: [PATCH 1/3] Add scoop & choco to windows install documentation --- docs/INSTALL.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/docs/INSTALL.md b/docs/INSTALL.md index 45aa3e6af..17eca3bf7 100644 --- a/docs/INSTALL.md +++ b/docs/INSTALL.md @@ -209,6 +209,23 @@ under plain Windows. aka Windows Subsystem for Linux if that's what you prefer. Installation is just like any 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 https://hub.docker.com/repository/docker/terrastruct/d2 From f62d745d355a90a2dd07c4fadca4485cfc54014f Mon Sep 17 00:00:00 2001 From: Dyllan To <1279360+dyllan-to-you@users.noreply.github.com> Date: Sun, 26 Jan 2025 02:59:51 -0800 Subject: [PATCH 2/3] Add badges to windows native package manager install instructions --- docs/INSTALL.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/INSTALL.md b/docs/INSTALL.md index 17eca3bf7..1382cc29a 100644 --- a/docs/INSTALL.md +++ b/docs/INSTALL.md @@ -16,6 +16,8 @@ You may install `d2` through any of the following methods. - [Windows](#windows) - [Release archives](#release-archives) - [WSL](#wsl) + - [Native Package managers](#native-package-managers) + - [Docker](#docker) - [Coming soon](#coming-soon) @@ -211,17 +213,17 @@ other Linux system. ### Native Package managers -Some people have created releases for d2 on windows package managers based on the prebuilt releases! +The following are community-managed Windows releases of d2 on popular package managers #### Scoop -[Scoop](https://scoop.sh/) is a package manager for windows. It can be used to install d2 by running +[![scoop/d2 badge](https://img.shields.io/scoop/v/d2)](https://scoop.sh/#/apps?q=d2&id=06d1259ce6446dd25dafa1a6c57285159ec927b0) ```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 +[![chocolatey/d2_badge](https://img.shields.io/chocolatey/v/d2)]([https://chocolatey.org/](https://community.chocolatey.org/packages/d2/0.6.6)) ```sh choco install d2 ``` From 69f4c8f03295239c95c4e5f269ac7905953b8f8a Mon Sep 17 00:00:00 2001 From: Alexander Wang Date: Mon, 3 Feb 2025 18:33:06 -0700 Subject: [PATCH 3/3] fix toc --- docs/INSTALL.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/INSTALL.md b/docs/INSTALL.md index 1382cc29a..cadaee346 100644 --- a/docs/INSTALL.md +++ b/docs/INSTALL.md @@ -17,7 +17,6 @@ You may install `d2` through any of the following methods. - [Release archives](#release-archives) - [WSL](#wsl) - [Native Package managers](#native-package-managers) - - [Docker](#docker) - [Coming soon](#coming-soon)