# Install tailor with Homebrew, MacPorts

Cross-platform static analyzer and linter for Swift. Version 0.12.0 via Homebrew; verified 2026-06-22. Also installable with macports: sudo port install tailor.

## Install

```sh
sudo av install brew:tailor
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install tailor
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install tailor
```

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

## Package facts

- **Package key:** brew:tailor
- **Package manager:** Homebrew
- **Version:** 0.12.0
- **Source summary:** Cross-platform static analyzer and linter for Swift
- **Homepage:** <https://sleekbyte.github.io/tailor/>
- **Repository:** <https://github.com/sleekbyte/tailor>
- **Last updated:** 2026-06-22T14:06:26-07:00
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- tailor (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 0.12.0
## Project history and usage

Tailor is a Swift static analyzer and linter packaged as a cross-platform CLI. It belongs to the early Swift tooling wave, when developers wanted package-manager-installable style checks for Swift projects before the ecosystem settled around later tools.

### Project history

The public repository was created in May 2015. The README describes Tailor as a cross-platform static analyzer and linter for Swift, implemented with ANTLR parsing, supporting Mac OS X shell use, Xcode integration, Linux, and Windows. It documents Homebrew installation, release archives, and CI snippets.

### Adoption history

Tailor was distributed through Homebrew and MacPorts according to the input package facts. GitHub releases show active feature work around Swift grammar updates, Code Climate output, `.tailor.yml` configuration, and Xcode integration during the Swift 2 and Swift 3 transition period.

### How it is used

Users run `tailor` over Swift files or directories, configure rule selection and output through CLI flags or `.tailor.yml`, and can add it to an Xcode build phase. The wiki documents `.tailor.yml` for include/exclude lists, rule enablement, output format, and color settings.

### Why package nerds care

Package nerds care about Tailor because it shows how early Swift static analysis escaped Xcode and became a package-manager-installed CLI. Its release history also shows the maintenance burden of grammar-driven language tooling: Swift grammar changes required parser updates, while CI and Code Climate support made the tool fit non-Apple workflows.

### Timeline

- 2015: Public GitHub repository created.
- 2016: Releases added Code Climate output and `.tailor.yml` configuration options.
- 2016: Tailor 0.11.0 updated grammar support for Swift 3.0.
- 2017: Tailor 0.12.0 updated grammar support for Swift 3.0.1.

### Related projects

- Tailor relates to SwiftFormat, SwiftLint, Xcode build phases, Code Climate, ANTLR, Homebrew, and MacPorts.

### Sources

- <https://api.github.com/repos/sleekbyte/tailor>
- <https://github.com/sleekbyte/tailor>
- <https://github.com/sleekbyte/tailor/releases>
- <https://github.com/sleekbyte/tailor/wiki>
- source_facts.package-manager


## Security Notes

narrow executable package without higher-risk signals.

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


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: .tailor.yml
## Other Package-Manager Records

- MacPorts - tailor: normalized package name match | MacPorts ports tree: devel/tailor/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

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


## Sources

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
