D2 Terrastruct, Inc.
Use this command to install D2:
winget install --id=Terrastruct.D2 -e
A modern diagram scripting language that turns text to diagrams.
D2 is a modern diagram scripting language designed to turn text into clear, professional diagrams with ease. Whether you're visualizing complex systems, creating flowcharts, or documenting software architecture, D2 simplifies the process of transforming ideas into visuals.
Key Features:
- Production-ready themes: Choose from professionally designed themes that make your diagrams look polished and ready for presentations.
- Sketch mode: Create hand-drawn aesthetics for a more approachable, informal look.
- Animations: Generate animated diagrams directly from text, perfect for academic papers or dynamic visualizations.
- Multilingual support: Write diagrams in English, Chinese, French, or other languages, with flexibility to include emojis.
- Code snippets: Embed syntax-highlighted code within your diagrams for software-specific visuals.
- Markdown integration: Add detailed explanations using Markdown within your diagrams.
- SQL table visualization: Display structured data like SQL tables clearly and concisely.
- Local CLI: Use the command-line interface with watch mode for offline workflows, supported across major OS like macOS, Linux, and Windows.
- VSCode and Vim support: Enjoy official editor integrations for seamless diagram creation.
- Online playground: Quickly create and share diagrams without installation.
Audience & Benefit: Ideal for developers, technical writers, researchers, and anyone needing to visualize complex information. D2 empowers users to communicate ideas clearly and efficiently, fostering collaboration through interactive, customizable diagrams that adapt to any project's needs.