# Install ditaa with Homebrew, apt, dnf, MacPorts, Nix, pacman

Convert ASCII diagrams into proper bitmap graphics. Version 0.11.0 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:ditaa
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install ditaa
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install ditaa
```

  Evidence: MacPorts ports tree: java/ditaa/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Debian apt (92%):

```sh
sudo apt install ditaa
```

  Evidence: Debian stable package indexes: ditaa from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install ditaa
```

  Evidence: Fedora Rawhide package metadata: ditaa from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#ditaa
```

  Evidence: nixpkgs package indexes: pkgs/by-name/di/ditaa/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S ditaa
```

  Evidence: Arch Linux sync databases: ditaa from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## Package facts

- **Package key:** brew:ditaa
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/ditaa>
- **Version:** 0.11.0
- **Source summary:** Convert ASCII diagrams into proper bitmap graphics
- **Homepage:** <https://ditaa.sourceforge.net/>
- **Repository:** <https://github.com/stathissideris/ditaa>
- **Upstream docs:** <https://ditaa.sourceforge.net/>
- **License:** LGPL-3.0-or-later
- **Source archive:** <https://github.com/stathissideris/ditaa/releases/download/v0.11.0/ditaa-0.11.0-standalone.jar>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- ditaa (cli)
- ditaa (alias)

## Dependencies

- openjdk

## Install behavior

- Post-install hook: not defined
- Bottle: available on all

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.11.0
- Local data: ok
- Upstream repository: https://github.com/stathissideris/ditaa
- info: No package-manager update timestamp was available.
- info: No cached GitHub release or tag data was available.
## Project history and usage

ditaa is a Java command-line utility that converts diagrams drawn in ASCII art into bitmap graphics. It became a familiar helper for people who wanted text-first diagrams in documentation but nicer rendered output for readers.

### Project history

The official README expands the name as 'DIagrams Through Ascii Art' and says the author built it partly for hack value and partly to modernize ASCII diagrams in old FAQs, text documents, source comments, and markup formats. The GitHub repository was created in 2011, while the project site and README preserve the older Java-utility style of distribution.

### Adoption history

The README notes packaging for Ubuntu and Homebrew, which reflects ditaa's role as a small documentation-adjacent utility rather than a full application platform. Its longevity comes from a stable input format: diagrams remain editable as plain text and can be re-rendered as the tool improves.

### How it is used

Users invoke the jar or packaged ditaa command against a text diagram and output an image. The tool recognizes ASCII line art, shape markup, color codes, tags for document or storage shapes, HTML pre blocks, transparency, antialiasing, SVG output, scaling, and other rendering options.

### Why package nerds care

ditaa is notable because it treats ASCII diagrams as source code: diffable, embeddable in comments or docs, and convertible during builds. That makes it a natural package-manager resident for documentation pipelines and text-centric developer workflows.

### Timeline

- 2011: Official GitHub repository created.
- 2010s: README documents Ubuntu and Homebrew package availability.
- 2022: Repository metadata shows maintenance activity into the 2020s.

### Related projects

- Graphviz and PlantUML serve adjacent diagram-as-code workflows, but ditaa is unusual in rendering free-form ASCII art rather than a formal graph language.
- DocBook, HTML, LaTeX, and Javadoc are named in the README as text-based formats where rendered diagrams can be embedded.

### Sources

- <https://ditaa.sourceforge.net/>
- <https://github.com/stathissideris/ditaa#readme>
- <https://api.github.com/repos/stathissideris/ditaa>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** ditaa
- **Version Scheme:** 0
- **Revision:** 1
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- Debian apt - ditaa - 0.10+ds1-1.4: normalized package name match | Debian stable package indexes: ditaa from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | convert ASCII diagrams into proper bitmap graphics | https://ditaa.sourceforge.net
- Nix - ditaa: normalized package name match | nixpkgs package indexes: pkgs/by-name/di/ditaa/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - ditaa - 0.10+ds1-1.4: normalized package name match | Ubuntu 24.04 LTS package indexes: ditaa from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | convert ASCII diagrams into proper bitmap graphics | https://ditaa.sourceforge.net
- dnf - ditaa - 0.10-32.fc44: normalized package name match | Fedora Rawhide package metadata: ditaa from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Diagrams Through ASCII Art | http://ditaa.sourceforge.net/
- pacman - ditaa - 0.11.0-4: normalized package name match | Arch Linux sync databases: ditaa from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Utility for converting ASCII art diagrams into bitmaps | https://github.com/stathissideris/ditaa
- MacPorts - ditaa: normalized package name match | MacPorts ports tree: java/ditaa/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Language runtime packages](https://www.automicvault.com/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [openjdk](https://www.automicvault.com/pkg/brew/openjdk/) - Runtime dependency declared by Homebrew.
- [d2](https://www.automicvault.com/pkg/brew/d2/) - Shares av.db curated category or tags: cli, developer-tools, diagramming, diagrams.
- [diagram](https://www.automicvault.com/pkg/brew/diagram/) - Shares av.db curated category or tags: ascii-art, cli, developer-tools, diagramming.
- [plantuml](https://www.automicvault.com/pkg/brew/plantuml/) - Shares av.db curated category or tags: cli, developer-tools, diagramming, diagrams.
- [sdedit](https://www.automicvault.com/pkg/brew/sdedit/) - Shares av.db curated category or tags: cli, developer-tools, diagramming, java.
- [umlet](https://www.automicvault.com/pkg/brew/umlet/) - Shares av.db curated category or tags: cli, developer-tools, diagramming, java.
- [clang-uml](https://www.automicvault.com/pkg/brew/clang-uml/) - Shares av.db curated category or tags: cli, developer-tools, diagramming.
- [dpic](https://www.automicvault.com/pkg/brew/dpic/) - Shares av.db curated category or tags: cli, developer-tools, diagramming.
- [eralchemy](https://www.automicvault.com/pkg/brew/eralchemy/) - Shares av.db curated category or tags: cli, developer-tools, diagramming.

## Combined YAML source

View the package source record on GitHub. [combined/ditaa.yml](https://github.com/automic-vault/db/blob/main/combined/ditaa.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
