pkg.soopen package index

brew / 排名 434

使用 Homebrew, MacPorts 安装 sourcekitten

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install sourcekitten

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install SourceKitten

MacPorts ports tree · devel/SourceKitten/Portfile · 来源: api.github.com

概览

软件包摘要

Framework and command-line tool for interacting with SourceKit

命令和别名

  • sourcekitten

历史

项目历史与用法

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.

时间线

  • 2014: SourceKitten repository created.
  • 2015: 0.3.0-era public releases were being published.
  • 2016: 0.15.0 adapted APIs for Swift 3 and Xcode 8.
  • 2019: 0.30.0 required Swift 5.1 or higher.
  • 2022: 0.33.0 added Bazel build support and Xcode 14 documentation support.
  • 2025: 0.37.0 added Swift 6 compiler and syntax/declaration support.
  • 2026: 0.37.3 continued dependency maintenance.

Related projects

  • SwiftLint, Jazzy, Sourcery, SourceDocs, Cuckoo, IBAnalyzer, Taylor, and SourceKittenDaemon are listed by the README as projects built with SourceKitten.
  • SourceKit and `sourcekitd.framework` are the Apple tooling components SourceKitten communicates with.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
sourcekitten可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-03
管理器版本0.38.0
管理器更新时间2026-07-26
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:sourcekitten
版本0.38.0
软件包管理器Homebrew
主页https://github.com/jpsim/SourceKitten
仓库https://github.com/jpsim/SourceKitten
最后更新2026-07-26T22:32:47Z
Pulseupdated
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

MacPorts95%

SourceKitten

sudo port install SourceKitten
  • normalized package name match
  • 匹配方式:Sourcekitten
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/SourceKitten/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

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