macOS
brew install dunelocal Homebrew formula metadata
sudo port install duneMacPorts ports tree · shells/dune/Portfile · ソース: api.github.com
brew
dune のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install dunelocal Homebrew formula metadata
sudo port install duneMacPorts ports tree · shells/dune/Portfile · ソース: api.github.com
sudo apk add duneAlpine Linux edge package indexes · dune · ソース: dl-cdn.alpinelinux.org
nix profile install nixpkgs#dunenixpkgs package indexes · pkgs/by-name/du/dune/package.nix · ソース: api.github.com
sudo pacman -S duneArch Linux sync databases · dune · ソース: geo.mirror.pkgbuild.com
sudo dnf install ocaml-duneFedora Rawhide package metadata · ocaml-dune · ソース: dl.fedoraproject.org
概要
Composable build system for OCaml
履歴
Dune is the dominant build system for OCaml projects, with support for OCaml, Reason, and Coq workflows. Its significance is that it standardized a large part of OCaml package building around declarative `dune`, `dune-project`, and `dune-workspace` files rather than per-project build scripts.
Dune began as jbuilder, a build system derived from ideas used inside Jane Street and adapted for open-source OCaml projects. The upstream README still frames Dune as inspired by Jane Street's internal build scheme and matured through daily use by hundreds of developers.
The project was renamed from jbuilder to Dune during the 1.x era. The Dune project documented a staged deprecation of the `jbuilder` binary and `jbuild` files, with automatic `dune upgrade` support to migrate projects to `dune` files and `dune-project` metadata.
Dune's public repository is maintained under the OCaml GitHub organization. GitHub metadata records the repository as created in 2016, with OCaml as the main language, MIT licensing, and ongoing 3.x releases through 2026.
Dune adoption spread through the OCaml packaging ecosystem because opam packages could use a common build invocation, and Dune itself documents recommended package builds such as `dune build -p name -j jobs` and `dune runtest -p name -j jobs`.
The package is distributed across Homebrew, Alpine, Fedora, MacPorts, Nix, and Arch, reflecting its role as a workstation and CI prerequisite for building many OCaml packages outside opam-only environments.
Typical users write `dune` files with S-expression stanzas and let Dune generate build rules, installation metadata, and editor-tool configuration. Dune also supports workspaces, multi-package repositories, multiple build contexts, tests, documentation targets, and cross-compilation workflows.
For package managers, the important interface is the `dune` executable plus the conventional project files it understands. The installed tool is often needed not because users run Dune directly as an application, but because downstream OCaml packages declare Dune as their build system.
Dune is package-nerd important because it turned OCaml builds from a patchwork of ocamlbuild, oasis, makefiles, and custom scripts into a largely uniform package-manager target. A formula for Dune unlocks many other formulae.
Its jbuilder-to-dune migration is also a useful packaging case study: upstream kept compatibility for old names, emitted warnings, and shipped an upgrader, giving distributions and opam packages a path away from historical build files without a flag day.
セキュリティ状態
generalized runtime or code generation signal.
リスク yellow · 信頼度 中 · runtime
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
dunedune-projectdune-workspace実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
dune | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
インストールメタデータ
| パッケージキー | brew:dune |
|---|---|
| バージョン | 3.24.0 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/dune |
| ホームページ | https://dune.build/ |
| リポジトリ | https://github.com/ocaml/dune |
| 上流ドキュメント | https://dune.readthedocs.io/en/stable |
| ライセンス | MIT |
| ソースアーカイブ | https://github.com/ocaml/dune/releases/download/3.24.0/dune-3.24.0.tbz |
| 最終更新 | 2026-06-22T01:48:19Z |
| Pulse | updated |
| ビルド依存関係 | ocaml |
| Bottle | 利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | dune |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
dune
nix profile install nixpkgs#dunedune 3.22.2-r0
Composable build system for OCaml (formerly Jbuilder)
sudo apk add dunedune-configurator 3.22.2-r0
System config helper for the Dune OCaml build system
sudo apk add dune-configuratordune-doc 3.22.2-r0
Composable build system for OCaml (formerly Jbuilder) (documentation)
sudo apk add dune-docdune-emacs 3.22.2-r0
Emacs plugins for dune
sudo apk add dune-emacsocaml-dune 3.23.1-1.fc45
Composable build system for OCaml and Reason
sudo dnf install ocaml-dunedune 3.22.2-1
A composable build system for OCaml (formerly jbuilder)
sudo pacman -S dunedune
sudo port install duneソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.