Automic VaultAutomic Vault

brew

使用 Homebrew, MacPorts 安装 fantom

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install fantom

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install fantom

MacPorts ports tree · java/fantom/Portfile · 来源: api.github.com

概览

软件包摘要

Object oriented, portable programming language

命令和别名

  • 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

历史

项目历史与用法

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.

安全态势

风险级别:yellow

generalized runtime or code generation signal.

风险分类器

yellow 风险 · 中 置信度 · runtime

原因

  • generalized runtime or code generation signal

信号

  • text:programming language

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 1 个平台目标。
  • 安装时包含 1 个运行时依赖。

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
fancli全局可执行文件
fan.batcli全局可执行文件
fanccli全局可执行文件
fanc.batcli全局可执行文件
fanlaunchcli全局可执行文件
fanlaunch.batcli全局可执行文件
fanpcli全局可执行文件
fanp.batcli全局可执行文件
fanrcli全局可执行文件
fanr.batcli全局可执行文件
fanshcli全局可执行文件
fansh.batcli全局可执行文件
fansubstitutecli全局可执行文件
fantcli全局可执行文件
fant.batcli全局可执行文件
flux.batcli全局可执行文件
jstubcli全局可执行文件
jstub.batcli全局可执行文件

新鲜度

版本和新鲜度

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

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

https://github.com/fantom-lang/fantom

安装元数据

软件包元数据

软件包键brew:fantom
版本1.0.83
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/fantom
主页https://fantom.org/
仓库https://github.com/fantom-lang/fantom
上游文档https://fantom.org/doc
许可证AFL-3.0
源码归档https://github.com/fantom-lang/fantom/releases/download/v1.0.83/fantom-1.0.83.zip
最后更新2026-06-22T14:03:18-07:00
Pulseupdated
依赖openjdk
Bottle可用 (于 all)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namefantom
Version Scheme0
Revision0
Conflicts With
  • flux
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

MacPorts95%

fantom

sudo port install fantom
  • normalized package name match
  • 匹配方式:Fantom
MacPorts ports tree · api.github.com · MacPorts ports tree: java/fantom/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