# 使用 Homebrew 安装 swiftdraw

查看 swiftdraw 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install swiftdraw
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:swiftdraw
- **软件包管理器:** Homebrew
- **版本:** 0.29.0
- **来源摘要:** Convert SVG into PDF, PNG, JPEG or SF Symbol
- **主页:** <https://github.com/swhitty/SwiftDraw>
- **仓库:** <https://github.com/swhitty/SwiftDraw>
- **最后更新:** 2026-07-19T12:32:23Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- swiftdraw (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.29.0
## 项目历史与用法

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.

### 项目历史

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.

### 采用历史

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.

### 使用方式

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.

### 为什么软件包爱好者会关心

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.

### 时间线

- 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.

### 来源

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


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- 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)


## 来源

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