# Install swiftdraw with Homebrew

Convert SVG into PDF, PNG, JPEG or SF Symbol. Version 0.28.0 via Homebrew; verified 2026-07-04.

## Install

```sh
sudo av install brew:swiftdraw
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install swiftdraw
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:swiftdraw
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/swiftdraw>
- **Version:** 0.28.0
- **Source summary:** Convert SVG into PDF, PNG, JPEG or SF Symbol
- **Homepage:** <https://github.com/swhitty/SwiftDraw>
- **Repository:** <https://github.com/swhitty/SwiftDraw>
- **Upstream docs:** <https://github.com/swhitty/SwiftDraw#readme>
- **License:** Zlib
- **Source archive:** <https://github.com/swhitty/SwiftDraw/archive/refs/tags/0.28.0.tar.gz>
- **Last updated:** 2026-07-04T02:31:47Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- swiftdraw (cli)
- swiftdraw (alias)

## Uses from macOS

- libxml2

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.28.0
- Package-manager updated: 2026-07-04
- Local data: ok
- Upstream repository: https://github.com/swhitty/SwiftDraw
- Upstream latest detected: 0.28.0 (current)
## Project history and usage

SwiftDraw is a Swift library and command-line tool for parsing SVG files and converting them to PNG, JPEG, PDF, SF Symbols, or generated Swift source.

### Project history

The public repository was created in 2017. Its README presents the project first as a Swift SVG parsing and drawing library, then documents the bundled `swiftdraw` command-line converter.

### Adoption history

The README documents installation of the CLI through Homebrew, source builds through the Swift package, and downloadable release artifacts. Homebrew lists bottles for macOS and Linux, which makes the converter available in common package-manager workflows.

### How it is used

Developers use SwiftDraw as a library from SwiftUI, UIKit, or AppKit, or run `swiftdraw` on SVG files with output formats such as png, pdf, jpeg, swift, and sfsymbol. The CLI supports size, scale, insets, precision, and SF Symbol variant options.

### Why package nerds care

SwiftDraw is notable for packaging asset conversion as a small Swift-native CLI. It lets package-manager users install a repeatable SVG conversion tool with Homebrew while also offering the same SVG logic as a Swift package library.

### Timeline

- 2017: Public GitHub repository created.
- Current docs: CLI converts SVGs to PNG, JPEG, PDF, SF Symbol, and Swift source output.
- Current docs: Homebrew installation and upgrade commands documented in the README.

### Related projects

- The README positions SwiftDraw alongside SwiftUI, UIKit, AppKit, SF Symbols, SVG, Homebrew, and Swift Package Manager workflows.

### Sources

- <https://api.github.com/repos/swhitty/SwiftDraw>
- <https://formulae.brew.sh/api/formula/swiftdraw.json>
- <https://github.com/swhitty/SwiftDraw#readme>


## 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:** swiftdraw
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Requirements:** xcode
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Media and graphics packages](https://www.automicvault.com/pkg/media-graphics-tools/) - Matched media, image, audio, video, or graphics metadata.
- [libemf2svg](https://www.automicvault.com/pkg/brew/libemf2svg/) - Shares av.db curated category or tags: cli, conversion, graphics, media, svg.
- [fig2dev](https://www.automicvault.com/pkg/brew/fig2dev/) - Shares av.db curated category or tags: cli, conversion, graphics, media.
- [gd](https://www.automicvault.com/pkg/brew/gd/) - Shares av.db curated category or tags: cli, graphics, jpeg, media, png.
- [libwmf](https://www.automicvault.com/pkg/brew/libwmf/) - Shares av.db curated category or tags: cli, conversion, graphics, media.
- [pdf2svg](https://www.automicvault.com/pkg/brew/pdf2svg/) - Shares av.db curated category or tags: cli, conversion, media, pdf, svg.
- [potrace](https://www.automicvault.com/pkg/brew/potrace/) - Shares av.db curated category or tags: cli, graphics, media, pdf, svg.
- [svg2pdf](https://www.automicvault.com/pkg/brew/svg2pdf/) - Shares av.db curated category or tags: cli, conversion, graphics, media, pdf.
- [ansilove](https://www.automicvault.com/pkg/brew/ansilove/) - Shares av.db curated category or tags: cli, graphics, media, png.
- [jp2a](https://www.automicvault.com/pkg/brew/jp2a/) - Local package facts share a topical domain. Shared terms: cli, conversion, convert, jpeg, media.

## Combined YAML source

View the package source record on GitHub. [combined/swiftdraw.yml](https://github.com/automic-vault/db/blob/main/combined/swiftdraw.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
- cross-ecosystem install command graph
