# Install fantom with Homebrew, MacPorts

Object oriented, portable programming language. Version 1.0.83 via Homebrew; verified 2026-06-22. Also installable with macports: sudo port install fantom.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install fantom
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install fantom
```

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

## Package facts

- **Package key:** brew:fantom
- **Package manager:** Homebrew
- **Version:** 1.0.83
- **Source summary:** Object oriented, portable programming language
- **Homepage:** <https://fantom.org/>
- **Repository:** <https://github.com/fantom-lang/fantom>
- **Last updated:** 2026-06-22T14:03:18-07:00
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- fan (alias)
- fan.bat (alias)
- fanc (alias)
- fanc.bat (alias)
- fanlaunch (alias)
- fanlaunch.bat (alias)
- fanp (alias)
- fanp.bat (alias)
- fanr (alias)
- fanr.bat (alias)
- fansh (alias)
- fansh.bat (alias)
- fansubstitute (alias)
- fant (alias)
- fant.bat (alias)
- flux.bat (alias)
- jstub (alias)
- jstub.bat (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 1.0.83
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

- 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.

### Sources

- <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>


## Security Notes

generalized runtime or code generation signal.

- **Geiger risk:** yellow / medium
- generalized runtime or code generation signal

## Other Package-Manager Records

- 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)


## Sources

- 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
