D2
Last updated
A modern diagram scripting language that turns text to diagrams.
Install with winget
$ winget install --id Terrastruct.D2 --exact --version 0.9.0Run in Command Prompt, PowerShell, or Windows Terminal. Prompts for any agreements.
Silent install command for D2
D2 uses MSI (WiX). The silent install switches are /quiet /norestart.
msiexec.exe /i d2-v0.9.0-windows-amd64.msi /quiet /norestart
For Intune admins
Stop chasing app updates. Pckgr patches them for you.
Automated application patching for Microsoft Intune. Pckgr keeps a curated library of 1,000+ apps continuously up-to-date in your tenant via Microsoft Graph - no manual repackaging, no chasing vendor sites.
Start free 30-day trialNo credit card required.
Installers · v0.9.0
| Architecture | Type | Scope | Install | Download |
|---|---|---|---|---|
| x64 | MSI WiX | machine | Direct |
Copy a command tailored to that specific architecture, type, and scope - useful when winget would otherwise pick a different default.
Security
No known CVEs for D2.
Coverage is best-effort and depends on a winget package mapping to an NVD CPE entry. Absence here is not a guarantee of safety.
Related apps
More from Terrastruct, Inc. or browse diagram, script, text-to-diagram.
Frequently asked questions
How do I install D2 on Windows?
How do I install D2 silently for unattended deployment?
What are the silent install switches for D2?
How do I uninstall D2 via winget?
Is D2 free?
Does D2 work on Windows 10?
How do I keep D2 up to date?
Recent versions
- 0.9.0latest
- 0.8.2
- 0.7.1
- 0.7.0
- 0.6.9
- 0.6.8
- 0.6.5
- 0.6.3
- 0.6.1
- 0.6.0