# fantom を Homebrew, MacPorts でインストール

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

## インストール

```sh
sudo av install brew:fantom
```

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

### macOS

- Homebrew (100%):

```sh
brew install fantom
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install fantom
```

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

## パッケージ情報

- **パッケージキー:** brew:fantom
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.0.83
- **ソース概要:** Object oriented, portable programming language
- **ホームページ:** <https://fantom.org/>
- **リポジトリ:** <https://github.com/fantom-lang/fantom>
- **最終更新:** 2026-06-22T14:03:18-07:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- fan (エイリアス)
- fan.bat (エイリアス)
- fanc (エイリアス)
- fanc.bat (エイリアス)
- fanlaunch (エイリアス)
- fanlaunch.bat (エイリアス)
- fanp (エイリアス)
- fanp.bat (エイリアス)
- fanr (エイリアス)
- fanr.bat (エイリアス)
- fansh (エイリアス)
- fansh.bat (エイリアス)
- fansubstitute (エイリアス)
- fant (エイリアス)
- fant.bat (エイリアス)
- flux.bat (エイリアス)
- jstub (エイリアス)
- jstub.bat (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 1.0.83
## プロジェクトの歴史と使われ方

Fantom is a portable programming language and runtime that runs on the JVM and modern web browsers. Its official docs emphasize Java-like syntax, static and dynamic typing, a system library, closures, immutability, actor concurrency, and a pod-based deployment model.

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

The official WhyFantom document says Fantom was initially developed in 2005 during a period of stagnation in Java and before statically typed JavaScript-transpiled options were available. The original mission targeted portable software across the JVM and .NET CLR, later shifting focus to the JVM and JavaScript for web applications.

Fantom's design centers on portable APIs and pods. The documentation argues that pods unify deployment, versioning, and namespace, avoiding the mismatch between Java packages and JAR files.

### 採用の歴史

Fantom is distributed through an official zip that works on Windows, macOS, and Linux, with Homebrew documented for macOS, a Windows installer linked from Fantom Factory, and a Docker image published from the repository. The community is centered on the official forum and Slack.

The GitHub release stream shows continued maintenance through Fantom 1.0.83 in March 2026, while the official changelog records ongoing compiler, JavaScript, library, timezone, YAML, markdown, graphics, and tooling work.

### 使われ方

The command-line toolset includes `fan` for running Fantom programs, `fanc` for compilation, `fansh` for an interactive shell, `fant` for tests, and `fanr` for repository and package management. The official docs index groups these under command-line tools and language/runtime documentation.

Fantom source is organized around pods and can target server-side JVM execution and browser-oriented JavaScript output. Package users typically install the runtime, place its tools on PATH, and then run or build pod-based applications.

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

Fantom matters to package nerds as a complete but relatively niche language ecosystem: runtime, compiler, shell, test tool, repository manager, standard pods, official docs, and cross-platform binary distribution all ship together. Its pod model gives it its own package/deployment vocabulary rather than simply borrowing Java's JAR/package split.

### タイムライン

- 2005: Fantom initially developed.
- 2020: GitHub repository created and v1.0.74 released on GitHub.
- 2024: v1.0.80 introduced a new ECMAScript class-based JavaScript design.
- 2026: v1.0.83 released.

### Related projects

- The JVM is a primary runtime target.
- JavaScript is the browser and web-application target.
- Eggbox is linked by the official site as a pod repository.

### ソース

- <https://fantom.org/>
- <https://fantom.org/doc>
- <https://fantom.org/doc/docIntro/WhyFantom>
- <https://fantom.org/doc/docIntro/ChangeLog>
- <https://fantom.org/download>
- <https://github.com/fantom-lang/fantom>
- <https://raw.githubusercontent.com/fantom-lang/fantom/master/readme.md>
- <https://api.github.com/repos/fantom-lang/fantom>
- <https://api.github.com/repos/fantom-lang/fantom/releases?per_page=10>


## セキュリティノート

generalized runtime or code generation signal.

- **Geiger リスク:** yellow / 中
- generalized runtime or code generation signal

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

- MacPorts - fantom: normalized package name match | MacPorts ports tree: java/fantom/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/fantom.yml](https://github.com/mxcl/pkgdb/blob/main/combined/fantom.yml)


## ソース

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