# Install tailor with Homebrew, MacPorts

Cross-platform static analyzer and linter for Swift. Version 0.12.0 via Homebrew; verified 2026-06-22.

## 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
- **Package manager page:** <https://formulae.brew.sh/formula/tailor>
- **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>
- **Upstream docs:** <https://github.com/sleekbyte/tailor/wiki>
- **License:** MIT
- **Source archive:** <https://github.com/sleekbyte/tailor/releases/download/v0.12.0/tailor-0.12.0.tar>
- **Last updated:** 2026-06-22T14:06:26-07:00
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- tailor (cli)
- tailor (alias)

## Dependencies

- openjdk

## Install behavior

- Post-install hook: not defined
- Bottle: available on all

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.12.0
- Package-manager updated: 2026-06-22
- Local data: ok
- Upstream repository: https://github.com/sleekbyte/tailor
- info: No cached GitHub release or tag data was available.
## 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
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** tailor
- **Version Scheme:** 0
- **Revision:** 1
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

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


## 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.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [openjdk](https://www.automicvault.com/pkg/brew/openjdk/) - Runtime dependency declared by Homebrew.
- [pint](https://www.automicvault.com/pkg/brew/pint/) - Shares av.db curated category or tags: cli, code-quality, developer-tools, linter.
- [sonar-scanner](https://www.automicvault.com/pkg/brew/sonar-scanner/) - Shares av.db curated category or tags: cli, code-quality, developer-tools, static-analysis.
- [swiftlint](https://www.automicvault.com/pkg/brew/swiftlint/) - Shares av.db curated category or tags: cli, code-quality, developer-tools, linter, static-analysis.
- [tagref](https://www.automicvault.com/pkg/brew/tagref/) - Shares av.db curated category or tags: cli, code-quality, developer-tools, linter.
- [tombi](https://www.automicvault.com/pkg/brew/tombi/) - Shares av.db curated category or tags: cli, code-quality, developer-tools, linter.
- [addlicense](https://www.automicvault.com/pkg/brew/addlicense/) - Shares av.db curated category or tags: cli, code-quality, developer-tools.
- [codelimit](https://www.automicvault.com/pkg/brew/codelimit/) - Shares av.db curated category or tags: cli, code-quality, developer-tools.
- [dotenv-linter](https://www.automicvault.com/pkg/brew/dotenv-linter/) - Shares av.db curated category or tags: cli, developer-tools, linter, static-analysis.
- [pmd](https://www.automicvault.com/pkg/brew/pmd/) - Local package facts share a topical domain. Shared terms: analysis, analyzer, cli, code, code-quality.

## Combined YAML source

View the package source record on GitHub. [combined/tailor.yml](https://github.com/automic-vault/db/blob/main/combined/tailor.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
