macOS
brew install sourcekittenlocal Homebrew formula metadata
sudo port install SourceKittenMacPorts ports tree · devel/SourceKitten/Portfile · source: api.github.com
brew
Framework and command-line tool for interacting with SourceKit. Version 0.37.3 via Homebrew; verified from local package data.
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 | cli | global executable |
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.
https://github.com/jpsim/SourceKitten
install metadata
| Package key | brew:sourcekitten |
|---|---|
| Version | 0.37.3 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/sourcekitten |
| Homepage | https://github.com/jpsim/SourceKitten |
| Repository | https://github.com/jpsim/SourceKitten |
| Upstream docs | https://github.com/jpsim/SourceKitten#readme |
| License | MIT |
| Source archive | https://github.com/jpsim/SourceKitten.git |
| Uses from macOS | swift |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | sourcekitten |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Requirements |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
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.