# Install swiftdraw with Homebrew

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

## 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
- **Version:** 0.29.0
- **Source summary:** Convert SVG into PDF, PNG, JPEG or SF Symbol
- **Homepage:** <https://github.com/swhitty/SwiftDraw>
- **Repository:** <https://github.com/swhitty/SwiftDraw>
- **Last updated:** 2026-07-19T12:32:23Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- swiftdraw (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 0.29.0
## 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


## Combined YAML source

View the package source record on GitHub. [combined/swiftdraw.yml](https://github.com/mxcl/pkgdb/blob/main/combined/swiftdraw.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
