macOS
brew install d2local Homebrew formula metadata
sudo port install d2MacPorts ports tree · graphics/d2/Portfile · source: api.github.com
安装
sudo av install brew:d2brew install d2local Homebrew formula metadata
sudo port install d2MacPorts ports tree · graphics/d2/Portfile · source: api.github.com
sudo dnf install d2Fedora Rawhide package metadata · d2 · source: dl.fedoraproject.org
nix profile install nixpkgs#d2nixpkgs package indexes · pkgs/by-name/d2/d2/package.nix · source: api.github.com
sudo pacman -S d2Arch Linux sync databases · d2 · source: geo.mirror.pkgbuild.com
sudo zypper install d2openSUSE Tumbleweed package metadata · d2 · source: download.opensuse.org
scoop install main/d2Scoop official bucket manifest trees · bucket/d2.json · source: api.github.com
winget install --id Terrastruct.D2 -eWindows Package Manager source index · Terrastruct.D2 · source: cdn.winget.microsoft.com
概览
Modern diagram scripting language that turns text to diagrams
安全态势
generalized runtime or code generation signal.
yellow risk · medium confidence · runtime
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
d2 | cli | global executable |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/terrastruct/d2
安装元数据
| Package key | brew:d2 |
|---|---|
| Version | 0.7.1 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/d2 |
| Homepage | https://d2lang.com/ |
| Repository | https://github.com/terrastruct/d2 |
| Upstream docs | https://d2lang.com/ |
| License | MPL-2.0 |
| Source archive | https://github.com/terrastruct/d2/archive/refs/tags/v0.7.1.tar.gz |
| Build dependencies | go |
| Bottle | available (arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | d2 |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
d2
nix profile install nixpkgs#d2d2 0.6.9-8.fc44
Modern diagram scripting language that turns text to diagrams
https://github.com/terrastruct/d2
sudo dnf install d2d2 0.7.1-2
A modern diagram scripting language that turns text to diagrams
sudo pacman -S d2d2 0.7.1-1.4
CLI tool and modern declarative language that turns text to diagrams
https://github.com/terrastruct/d2
sudo zypper install d2d2
sudo port install d2main/d2
scoop install main/d2Terrastruct.D2
winget install --id Terrastruct.D2 -e来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。