macOS
brew install neflocal Homebrew formula metadata
安装
brew install neflocal Homebrew formula metadata
概览
Steroids for Xcode Playgrounds
历史
nef is a Bow Swift project that turns Xcode Playgrounds into a documentation and teaching workflow. It compiles playgrounds with third-party dependencies, exports Markdown or Jekyll content, builds iPad Playground Books, and can export Carbon code snippets.
The public GitHub repository was created on 2018-12-19. The README says `nef` is short for Nefertiti and was inspired by ΛNK for Kotlin and tut for Scala, placing it in the tradition of executable documentation tools for language ecosystems.
The project documentation presents Homebrew as the preferred CLI installation route, while also allowing consumption as a Swift Package Manager library for macOS tooling. That dual shape matches its role: a developer can use `nef` directly, integrate pieces into an app, use an Xcode extension, or create iPad-friendly Swift Playgrounds.
nef's adoption appears niche and tightly coupled to Bow, Swift Playgrounds, and documentation workflows rather than broad Swift development. The GitHub API showed 268 stars and 6 forks on 2026-07-01, and Homebrew showed only 7 installs over 365 days, 1 over 90 days, and 0 over 30 days when checked the same day.
Those numbers suggest that nef is historically interesting as a specialized executable-documentation tool, but not a widely adopted package. Its value is clearest for teams or educators who want Swift examples that can be compiled and transformed into docs or playground books.
Package users install `nef`, then create a playground with `nef playground`, compile playground-backed docs, generate Markdown or Jekyll output, produce a Playground Book from a Swift Package specification, or export code snippets. The common package-nerd use case is making examples more reproducible by compiling the documentation source instead of treating snippets as inert text.
The Homebrew formula requiring macOS and Xcode >= 13.1 reflects the real constraint: nef is not a general cross-platform documentation generator, it is Apple-toolchain-centered Swift playground tooling.
nef is a small but instructive package because it packages documentation as a build artifact. It belongs with literate-programming and executable-snippet tools more than with ordinary static-site generators.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
nef | cli | 全局可执行文件 | |
nef-carbon | cli | 全局可执行文件 | |
nef-carbon-page | cli | 全局可执行文件 | |
nef-clean | cli | 全局可执行文件 | |
nef-jekyll | cli | 全局可执行文件 | |
nef-jekyll-page | cli | 全局可执行文件 | |
nef-markdown | cli | 全局可执行文件 | |
nef-markdown-page | cli | 全局可执行文件 | |
nef-playground | cli | 全局可执行文件 | |
nef-playground-book | cli | 全局可执行文件 | |
nefc | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/bow-swift/nef
安装元数据
| 软件包键 | brew:nef |
|---|---|
| 版本 | 0.7.1 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/nef |
| 主页 | https://nef.bow-swift.io |
| 仓库 | https://github.com/bow-swift/nef |
| 上游文档 | https://nef.bow-swift.io/api-docs |
| 许可证 | Apache-2.0 |
| 源码归档 | https://github.com/bow-swift/nef/archive/refs/tags/0.7.1.tar.gz |
| Bottle | 可用 (于 arm64_big_sur, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | nef |
| Version Scheme | 0 |
| Revision | 0 |
| Requirements |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.