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

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

## インストール

```sh
sudo av install brew:mosml
```

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

### macOS

- Homebrew (100%):

```sh
brew install mosml
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install mosml
```

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

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#mosml
```

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

## パッケージ情報

- **パッケージキー:** brew:mosml
- **パッケージマネージャ:** Homebrew
- **バージョン:** 2.10.1
- **ソース概要:** Moscow ML
- **ホームページ:** <https://mosml.org/>
- **リポジトリ:** <https://github.com/kfl/mosml>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- camlrunm (エイリアス)
- mosml (エイリアス)
- mosmlc (エイリアス)
- mosmllex (エイリアス)
- mosmlyac (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

Moscow ML is a lightweight implementation of Standard ML. Its project history credits Sergei Romanenko at the Keldysh Institute of Applied Mathematics, Claudio Russo, Niels Kokholm, Ken Friis Larsen, and Peter Sestoft, and notes that it uses the runtime system and many ideas from Xavier Leroy and Damien Doligez's Caml Light implementation.

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

The Moscow ML manual describes version 2.10 as implementing SML as revised in the 1997 Definition, including the SML Modules language, some extensions, much of the SML Basis Library, separate compilation, and generation of standalone executables. The manual also highlights the Moscow ML Modules language, with features such as higher-order functors and other extensions while preserving compatibility goals for SML programs.

### 使われ方

Its adoption niche is language education, research, and maintenance of older SML code that benefits from a small interactive system and bytecode compiler. In Homebrew and other package managers, mosml provides the classic Moscow ML toolchain rather than a general-purpose modern ML ecosystem.

### ソース

- <https://formulae.brew.sh/formula/mosml>
- <https://github.com/kfl/mosml>
- <https://mosml.org/>
- <https://mosml.org/manual.pdf>


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

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

- Nix - mosml: normalized package name match | nixpkgs package indexes: pkgs/by-name/mo/mosml/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - mosml: normalized package name match | MacPorts ports tree: lang/mosml/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/mosml.yml](https://github.com/mxcl/pkgdb/blob/main/combined/mosml.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
