Automic VaultAutomic Vault

brew

Install swiftplantuml with Homebrew

Generate UML class diagrams from Swift sources. Version 0.8.1 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install swiftplantuml

local Homebrew formula metadata

overview

Package summary

Generate UML class diagrams from Swift sources

Commands and aliases

  • swiftplantuml

history

Project history and usage

SwiftPlantUML is a Swift CLI and Swift Package that generates PlantUML class diagrams from Swift source. It occupies a smaller but recognizable package-manager niche: source-code documentation tooling that can be installed with Homebrew or Mint and run from a project checkout.

Project history

The GitHub repository was created in January 2021. The official README describes a command-line tool and Swift Package for generating class diagrams powered by PlantUML from Swift files.

The project grew around SourceKit-backed Swift source inspection. Its README documents command-line operation, Swift Package use, an Xcode source editor extension, and configuration through `.swiftplantuml.yml`.

Adoption history

Official installation instructions include Homebrew, Mint, and source builds. The README also notes that the Homebrew installation previously used the maintainer's tap before the plain `brew install swiftplantuml` command became available.

GitHub release metadata shows public releases through the 0.8.x series in 2024. Compared with SwiftLint or SwiftFormat, the official record supports a narrower adoption story centered on diagram generation rather than general Swift build hygiene.

How it is used

Common usage is running `swiftplantuml` or the default `classdiagram` subcommand against files or directories containing Swift sources. The tool can emit or view generated PlantUML output and can use `.swiftplantuml.yml` for includes, excludes, access-level filtering, relationship display, and theming.

Because SwiftPlantUML hooks into SourceKit, the README tells users to run it with the same Swift toolchain used to compile the code.

Why package nerds care

SwiftPlantUML matters to package nerds as an example of a small Swift CLI that packages compiler-adjacent source inspection into a reusable tool. Its Homebrew and Mint support make architecture documentation reproducible without requiring every developer to build from source.

It also shows the packaging friction around SourceKit tools: the binary is simple to install, but correctness can still depend on the active Swift/Xcode toolchain.

Timeline

  • 2021: GitHub repository created.
  • 2024: GitHub release metadata lists 0.8.0 and 0.8.1 releases.
  • 2024: Generated API documentation was updated for the 0.8.1 release.

Related projects

  • Related projects include PlantUML, SourceKit, SwiftFormat, SwiftLint, Mint, Homebrew, and the separate SwiftPlantUML Xcode extension.

security posture

Risk level: blue

broad file, network, media, or database tool signal.

Risk classifier

blue risk · medium confidence · tool

Why

  • broad file, network, media, or database tool signal

Signals

  • text:ftp

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 8 platform targets.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
swiftplantumlcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version0.8.1
manager updated
local dataok
upstreamcurrent
latest detected0.8.1

https://github.com/MarcoEidinger/SwiftPlantUML

  • infoNo package-manager update timestamp was available.low confidence

install metadata

Package metadata

Package keybrew:swiftplantuml
Version0.8.1
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/swiftplantuml
Homepagehttps://marcoeidinger.github.io/SwiftPlantUML/
Repositoryhttps://github.com/MarcoEidinger/SwiftPlantUML
Upstream docshttps://github.com/MarcoEidinger/SwiftPlantUML#readme
LicenseMIT
Source archivehttps://github.com/MarcoEidinger/SwiftPlantUML/archive/refs/tags/0.8.1.tar.gz
Bottleavailable (on arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameswiftplantuml
Version Scheme0
Revision0
Requirements
  • macos
  • xcode
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

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