# 使用 Homebrew 安装 nef

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

## 安装

```sh
sudo av install brew:nef
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install nef
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:nef
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/nef>
- **版本:** 0.7.1
- **来源摘要:** Steroids for Xcode Playgrounds
- **主页:** <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>
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- 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)
- nef (别名)
- nef-carbon (别名)
- nef-carbon-page (别名)
- nef-clean (别名)
- nef-jekyll (别名)
- nef-jekyll-page (别名)
- nef-markdown (别名)
- nef-markdown-page (别名)
- nef-playground (别名)
- nef-playground-book (别名)
- nefc (别名)

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_big_sur, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 0.7.1
- 本地数据: OK
- 上游仓库: https://github.com/bow-swift/nef
- 检测到的最新版本: 0.7.1 (当前)
- 信息: No package-manager update timestamp was available.
## 项目历史与用法

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.

### 时间线

- 2018-12-19: Public GitHub repository created.
- 2026-07-01: GitHub API reported 2022-01-19 as the repository last-push timestamp.
- 2026-07-01: Homebrew formula stable version observed as 0.7.1 with very low install counts.

### Related projects

- Bow
- Xcode Playgrounds
- Swift Package Manager
- Jekyll
- Carbon
- ΛNK
- tut

### 来源

- <https://api.github.com/repos/bow-swift/nef>
- <https://formulae.brew.sh/formula/nef>
- <https://github.com/bow-swift/nef>
- <https://nef.bow-swift.io/docs/quick-start/getting-started>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** nef
- **Version Scheme:** 0
- **Revision:** 0
- **Requirements:** macos, xcode
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable


## 相关链接

- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/zh-hans/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [action-docs](https://www.automicvault.com/zh-hans/pkg/brew/action-docs/) - Shares av.db curated category or tags: cli, developer-tools, documentation, markdown.
- [docfx](https://www.automicvault.com/zh-hans/pkg/brew/docfx/) - Shares av.db curated category or tags: cli, developer-tools, documentation, markdown.
- [docmd](https://www.automicvault.com/zh-hans/pkg/brew/docmd/) - Shares av.db curated category or tags: cli, developer-tools, documentation, markdown.
- [github-markdown-toc](https://www.automicvault.com/zh-hans/pkg/brew/github-markdown-toc/) - Shares av.db curated category or tags: cli, developer-tools, documentation, markdown.
- [go-md2man](https://www.automicvault.com/zh-hans/pkg/brew/go-md2man/) - Shares av.db curated category or tags: cli, developer-tools, documentation, markdown.
- [grip](https://www.automicvault.com/zh-hans/pkg/brew/grip/) - Shares av.db curated category or tags: cli, developer-tools, documentation, markdown.
- [gtree](https://www.automicvault.com/zh-hans/pkg/brew/gtree/) - Shares av.db curated category or tags: cli, developer-tools, documentation, markdown.
- [mdbook](https://www.automicvault.com/zh-hans/pkg/brew/mdbook/) - Shares av.db curated category or tags: cli, developer-tools, documentation, markdown.
- [sourcekitten](https://www.automicvault.com/zh-hans/pkg/brew/sourcekitten/) - Both packages work with overlapping file formats or content types. Shared terms: cli, developer, developer-tools, documentation, markdown.

## Combined YAML source

View the package source record on GitHub. [combined/nef.yml](https://github.com/automic-vault/db/blob/main/combined/nef.yml)


## 来源

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- cross-ecosystem install command graph
