Wingetlywingetly
← All apps

D2

by Terrastruct, Inc.v0.9.0

Last updated

A modern diagram scripting language that turns text to diagrams.

Install with winget

$ winget install --id Terrastruct.D2 --exact --version 0.9.0

Run 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.

One-line silent install (x64, machine scope)
msiexec.exe /i d2-v0.9.0-windows-amd64.msi /quiet /norestart

See the full silent install reference for D2

Built by Pckgr

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 trial

No credit card required.

Installers · v0.9.0

ArchitectureTypeScopeInstallDownload
x64MSI
WiX
machineDirect

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

  • Python 3.12Python Software Foundation
    Python.Python.3.12v3.12.10

    Python is a programming language that lets you work more quickly and integrate your systems more effectively.

  • Python 3.14Python Software Foundation
    Python.Python.3.14v3.14.7

    A programming language that lets you work more quickly and integrate your systems more effectively.

  • Python 3.11Python Software Foundation
    Python.Python.3.11v3.11.9

    Python is a programming language that lets you work more quickly and integrate your systems more effectively.

  • Python 3.13Python Software Foundation
    Python.Python.3.13v3.13.15

    Python is a programming language that lets you work more quickly and integrate your systems more effectively.

  • Python Install ManagerPython Software Foundation
    Python.PythonInstallManagerv26.3.240.0

    Install, manage, and launch Python on Windows.

  • Logisim-evolutionlogisim-evolution developers
    logisim-evolution.logisim-evolutionv4.1.0

    Digital logic design tool and simulator

More from Terrastruct, Inc. or browse diagram, script, text-to-diagram.

Frequently asked questions

How do I install D2 on Windows?
Open Windows Terminal, PowerShell, or Command Prompt and run: winget install --id Terrastruct.D2 --exact --version 0.9.0. winget downloads the installer from Terrastruct, Inc. and runs it. Requires Windows 10 (1809+) or Windows 11.
How do I install D2 silently for unattended deployment?
Add --silent and accept the agreements upfront: winget install --id Terrastruct.D2 --exact 0.9.0 --silent --accept-package-agreements --accept-source-agreements. This is the variant Intune, Configuration Manager, and other deployment tools should use.
What are the silent install switches for D2?
D2 uses MSI (WiX). Run the downloaded installer with: msiexec.exe /i d2-v0.9.0-windows-amd64.msi /quiet /norestart. The silent switches are /quiet /norestart.
How do I uninstall D2 via winget?
Run: winget uninstall --id Terrastruct.D2 --exact. Add --silent for unattended uninstalls. winget will use the registered uninstaller from D2's Apps & Features entry.
Is D2 free?
D2 is distributed under MPL-2.0. Refer to the publisher (https://d2lang.com/) for the full license terms - Wingetly itself does not charge for installation.
Does D2 work on Windows 10?
Yes, as long as your Windows 10 build supports winget (1809 or newer). winget ships with App Installer on Windows 10/11 and pulls D2 directly from the publisher.
How do I keep D2 up to date?
Run winget upgrade --id Terrastruct.D2 --exact, or winget upgrade --all to update everything winget tracks. We index 10 versions of D2 from microsoft/winget-pkgs.

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