Automic VaultAutomic Vault

brew

使用 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

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
sourcekittencli全局可执行文件

新鲜度

版本和新鲜度

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

页面生成时间2026-07-10
管理器版本0.37.3
管理器更新时间
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/jpsim/SourceKitten

安装元数据

软件包元数据

软件包键brew:sourcekitten
版本0.37.3
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/sourcekitten
主页https://github.com/jpsim/SourceKitten
仓库https://github.com/jpsim/SourceKitten
上游文档https://github.com/jpsim/SourceKitten#readme
许可证MIT
源码归档https://github.com/jpsim/SourceKitten.git
macOS 提供的库swift
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namesourcekitten
Version Scheme0
Revision0
Head VersionHEAD
Requirements
  • xcode
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 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
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment