macOS
brew install sourcekittenlocal Homebrew formula metadata
sudo port install SourceKittenMacPorts ports tree · devel/SourceKitten/Portfile · source: api.github.com
brew / rank 434
Framework and command-line tool for interacting with SourceKit. Version 0.38.0 via Homebrew; verified 2026-07-26. Also installable with macports: sudo port install SourceKitten.
install
brew install sourcekittenlocal Homebrew formula metadata
sudo port install SourceKittenMacPorts ports tree · devel/SourceKitten/Portfile · source: api.github.com
overview
Framework and command-line tool for interacting with SourceKit
history
SourceKitten is a Swift framework and command-line tool for interacting with Apple's SourceKit service, exposing source structure, syntax, completion, indexing, module information, and documentation extraction as JSON-friendly CLI subcommands.
The GitHub repository was created in August 2014. The README describes SourceKitten as a framework and CLI that links to `sourcekitd.framework` to parse Swift ASTs, extract comment docs for Swift or Objective-C projects, get Swift syntax data, and issue raw SourceKit requests.
The changelog shows continuous tracking of Swift and Xcode evolution: Swift 3-era API changes, Swift 4 and Swift 5 requirements, SwiftPM and Xcode documentation support, Bazel support, and syntax/declaration kind updates through Swift 6.
The README lists many projects built with SourceKitten, including SwiftLint, Jazzy, Sourcery, SourceKittenDaemon, SourceDocs, Cuckoo, IBAnalyzer, and Taylor. That list makes SourceKitten infrastructure for a broad slice of Swift developer tooling.
The `sourcekitten` CLI provides subcommands including `complete`, `doc`, `format`, `index`, `module-info`, `request`, `structure`, `syntax`, and `version`. It can be installed with Homebrew, Swift Package Manager, Bazel, Make, or a release package.
Package nerds care because SourceKitten turns a platform-private compiler service into a packageable Unix-style CLI and library. It is the substrate behind linters, documentation generators, mock generators, editor completion bridges, and other Swift ecosystem tools.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
sourcekitten | executable | indexed executable | Discovered from the local executable index. |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
install metadata
| Package key | brew:sourcekitten |
|---|---|
| Version | 0.38.0 |
| Package manager | Homebrew |
| Homepage | https://github.com/jpsim/SourceKitten |
| Repository | https://github.com/jpsim/SourceKitten |
| Last updated | 2026-07-26T22:32:47Z |
| Pulse | updated |
| Bottle | not recorded |
| Service | none declared |
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
SourceKitten
sudo port install SourceKittensource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.