# apfel を Homebrew, MacPorts, Nix, zypper でインストール

apfel のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:apfel
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install apfel
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install apfel
```

  証拠: MacPorts ports tree: llm/apfel/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#apfel
```

  証拠: nixpkgs package indexes: pkgs/by-name/ap/apfel/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- zypper (92%):

```sh
sudo zypper install apfel-devel
```

  証拠: openSUSE Tumbleweed package metadata: apfel-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## パッケージ情報

- **パッケージキー:** brew:apfel
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/apfel>
- **バージョン:** 1.8.0
- **ソース概要:** Apple Intelligence from the command-line, with OpenAi-compatible API server
- **ホームページ:** <https://apfel.franzai.com>
- **リポジトリ:** <https://github.com/Arthur-Ficial/apfel>
- **上流ドキュメント:** <https://apfel.franzai.com/>
- **ライセンス:** MIT
- **ソースアーカイブ:** <https://github.com/Arthur-Ficial/apfel/archive/refs/tags/v1.8.0.tar.gz>
- **最終更新:** 2026-07-03T03:57:41Z
- **生成日時:** 2026-07-08T07:18:31+00:00

## 実行可能ファイル

- apfel (cli)
- apfel (エイリアス)

## インストール挙動

- post-install フック: 未定義
- サービス: declared
- Bottle: 利用可能 対象 arm64_tahoe

## バージョンと鮮度

- ページ生成日: 2026-07-08
- マネージャ版: 1.8.0
- マネージャ更新日: 2026-07-03
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/Arthur-Ficial/apfel
- 検出された最新: v1.8.0 (最新)
## プロジェクトの歴史と使われ方

apfel is a macOS command-line tool and local OpenAI-compatible server for Apple's on-device FoundationModels language model.

### プロジェクトの歴史

The official site presents apfel as a zero-configuration way to use the language model included with Apple Intelligence on Apple Silicon Macs. The GitHub README describes it as a UNIX tool, local OpenAI-compatible server, and interactive chat interface with no cloud service, no API keys, and no model download.

The project is implemented in Swift and targets macOS 26 Tahoe and Apple Silicon. Its documentation emphasizes shell composition, JSON output, stdin/stdout behavior, local HTTP compatibility with OpenAI SDKs, and on-device inference.

### 採用の歴史

apfel's official site reports rapid GitHub adoption in 2026 and the repository lists thousands of stars. Homebrew packaging made the command available as a one-command install for macOS users.

### 使われ方

Users run apfel directly as a UNIX filter, start a local server with apfel --serve, or use apfel --chat for an interactive REPL. The documented server exposes a localhost OpenAI-compatible API at /v1 for chat completions, responses, model listing, health checks, tool calling, and structured output.

The official site states that apfel needs no YAML, environment variables, model selection, subscriptions, or API keys for its core local model use.

### パッケージ好きにとっての重要性

apfel is package-nerd significant because it packages an operating-system model API as a composable command-line tool and localhost API backend. It gives Homebrew users an immediately scriptable local LLM endpoint without a model artifact, daemon setup, or cloud credential path.

### タイムライン

- 2026: Official documentation describes macOS 26 Tahoe and Apple Silicon as requirements.
- 2026: v1.8.0 documented on the official site and GitHub release metadata.
- 2026: Official site reports thousands of GitHub stars and Homebrew installation as the primary quick start.

### Related projects

- The official site lists related apfel-family tools such as apfel-chat, apfel-gui, apfel-mcp, apfel-run, apfel-server-kit, auge, and translate.

### ソース

- <https://apfel.franzai.com/>
- <https://github.com/Arthur-Ficial/apfel#readme>
- <https://github.com/Arthur-Ficial/apfel/blob/main/docs/openai-api-compatibility.md>
- source_facts.package-manager


## セキュリティノート

formula declares a Homebrew service.

- **Geiger リスク:** orange / 中
- formula declares a Homebrew service

## ソースデータベース詳細

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

## 他のパッケージマネージャ記録

- Nix - apfel: normalized package name match | nixpkgs package indexes: pkgs/by-name/ap/apfel/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- zypper - apfel-devel - 3.1.1-2.10: normalized package name match | openSUSE Tumbleweed package metadata: apfel-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Development files for Apfel, a PDF Evolution Library | http://apfel.hepforge.org/
- zypper - apfel-devel-static - 3.1.1-2.10: normalized package name match | openSUSE Tumbleweed package metadata: apfel-devel-static from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Static development files for Apfel, a PDF Evolution library | http://apfel.hepforge.org/
- zypper - apfel-doc - 3.1.1-2.10: normalized package name match | openSUSE Tumbleweed package metadata: apfel-doc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Documentation for APFEL, a PDF evolution library | http://apfel.hepforge.org/
- zypper - libAPFEL0_0_0 - 3.1.1-2.10: normalized package name match | openSUSE Tumbleweed package metadata: libAPFEL0_0_0 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | A Probability Distribution Function Evolution Library | http://apfel.hepforge.org/
- zypper - python311-apfel - 3.1.1-2.10: normalized package name match | openSUSE Tumbleweed package metadata: python311-apfel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | A Probability Distribution Function Evolution Library | http://apfel.hepforge.org/
- zypper - python313-apfel - 3.1.1-2.10: normalized package name match | openSUSE Tumbleweed package metadata: python313-apfel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | A Probability Distribution Function Evolution Library | http://apfel.hepforge.org/
- zypper - python314-apfel - 3.1.1-2.10: normalized package name match | openSUSE Tumbleweed package metadata: python314-apfel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | A Probability Distribution Function Evolution Library | http://apfel.hepforge.org/
- MacPorts - apfel: normalized package name match | MacPorts ports tree: llm/apfel/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 関連リンク

- [MCP tool packages](https://www.automicvault.com/ja/pkg/mcp-tools/) - Mentions MCP or Model Context Protocol.
- [Secret-risk packages](https://www.automicvault.com/ja/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/ja/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/ja/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [aichat](https://www.automicvault.com/ja/pkg/brew/aichat/) - Shares av.db curated category or tags: ai, cli, developer-tools.
- [aicommit](https://www.automicvault.com/ja/pkg/brew/aicommit/) - Shares av.db curated category or tags: ai, cli, developer-tools.
- [aicommit2](https://www.automicvault.com/ja/pkg/brew/aicommit2/) - Shares av.db curated category or tags: ai, cli, developer-tools.
- [aicommits](https://www.automicvault.com/ja/pkg/brew/aicommits/) - Shares av.db curated category or tags: ai, cli, developer-tools.
- [aider](https://www.automicvault.com/ja/pkg/brew/aider/) - Shares av.db curated category or tags: ai, cli, developer-tools.
- [algolia](https://www.automicvault.com/ja/pkg/brew/algolia/) - Shares av.db curated category or tags: api, cli, developer-tools.
- [api-linter](https://www.automicvault.com/ja/pkg/brew/api-linter/) - Shares av.db curated category or tags: api, cli, developer-tools.
- [apibuilder-cli](https://www.automicvault.com/ja/pkg/brew/apibuilder-cli/) - Shares av.db curated category or tags: api, cli, developer-tools.
- [localai](https://www.automicvault.com/ja/pkg/brew/localai/) - Local package facts share a topical domain. Shared terms: ai, cli, compatible, developer, developer-tools.
- [shimmy](https://www.automicvault.com/ja/pkg/brew/shimmy/) - Local metadata places this package in an adjacent workflow. Shared terms: ai, cli, compatible, developer, developer-tools.

## Combined YAML source

View the package source record on GitHub. [combined/apfel.yml](https://github.com/automic-vault/db/blob/main/combined/apfel.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
- external package-manager database matches
- cross-ecosystem install command graph
