macOS
brew install ocamlprovider-native install command
brew / rank 1459
General purpose programming language in the ML family. Version 5.5.0 via Homebrew; verified 2026-07-13.
install
brew install ocamlprovider-native install command
overview
General purpose programming language in the ML family
history
OCaml is the main implementation of the Caml branch of the ML family: a strict, statically typed, type-inferred language with functional, imperative, modular, and object-oriented features. The brewed ocaml package installs the compiler suite, runtime tools, lexer and parser generators, documentation tools, debugger, dependency analyzer, and native-code and bytecode compilers.
OCaml grew out of Caml work at INRIA. Caml Special Light arrived in 1995 with an optimizing native-code compiler and a module system inspired by Standard ML; Objective Caml followed in 1996 after Didier Remy and Jerome Vouillon's object-type work was integrated into the language. The official name became OCaml in 2011.
The language evolved through major compiler and ecosystem changes. OCaml 4.0 in 2012 added GADTs and first-class modules; OCaml 4.03 in 2016 split ocamlbuild out of the compiler distribution; OCaml 5.0 in 2022 rewrote the runtime, removed the global runtime lock, and introduced support for shared-memory parallelism and effect handlers.
OCaml began with a strong academic base and gained industrial users around the Objective Caml period documented by ocaml.org. The official history page identifies adoption in static analysis tools, compilers, financial systems, and web development, and the language ecosystem later consolidated around opam, Dune, odoc, ocamlformat, merlin, and related platform tools.
Developers use OCaml for compilers, formal-methods tooling, static analysis, developer tools, financial infrastructure, web services, and systems where strong static typing and fast native code are useful. The package exposes both bytecode and native compilers, the interactive toplevel, ocamldebug, ocamldep, ocamldoc, ocamllex, ocamlyacc, and object-inspection tools.
OCaml is package-nerd rich because the compiler version is also an ecosystem axis. opam switches, findlib package names, Dune language versions, compiler-libs compatibility, PPX AST versions, and long-lived compiler branches all affect whether an OCaml package can build.
security posture
generalized runtime or code generation signal.
yellow risk · medium confidence · runtime
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
aarch64-unknown-linux-gnu-ocamlrun-a104 | executable | indexed executable | Discovered from the local executable index. |
aarch64-unknown-linux-gnu-ocamlrund-a104 | executable | indexed executable | Discovered from the local executable index. |
aarch64-unknown-linux-gnu-ocamlruni-a104 | executable | indexed executable | Discovered from the local executable index. |
ocaml | executable | indexed executable | Discovered from the local executable index. |
ocamlc | executable | indexed executable | Discovered from the local executable index. |
ocamlc.byte | executable | indexed executable | Discovered from the local executable index. |
ocamlc.opt | executable | indexed executable | Discovered from the local executable index. |
ocamlcmt | executable | indexed executable | Discovered from the local executable index. |
ocamlcp | executable | indexed executable | Discovered from the local executable index. |
ocamldebug | executable | indexed executable | Discovered from the local executable index. |
ocamldep | executable | indexed executable | Discovered from the local executable index. |
ocamldep.byte | executable | indexed executable | Discovered from the local executable index. |
ocamldep.opt | executable | indexed executable | Discovered from the local executable index. |
ocamldoc | executable | indexed executable | Discovered from the local executable index. |
ocamldoc.opt | executable | indexed executable | Discovered from the local executable index. |
ocamllex | executable | indexed executable | Discovered from the local executable index. |
ocamllex.byte | executable | indexed executable | Discovered from the local executable index. |
ocamllex.opt | executable | indexed executable | Discovered from the local executable index. |
ocamlmklib | executable | indexed executable | Discovered from the local executable index. |
ocamlmktop | executable | indexed executable | Discovered from the local executable index. |
ocamlobjinfo | executable | indexed executable | Discovered from the local executable index. |
ocamlobjinfo.byte | executable | indexed executable | Discovered from the local executable index. |
ocamlobjinfo.opt | executable | indexed executable | Discovered from the local executable index. |
ocamlopt | executable | indexed executable | Discovered from the local executable index. |
ocamlopt.byte | executable | indexed executable | Discovered from the local executable index. |
ocamlopt.opt | executable | indexed executable | Discovered from the local executable index. |
ocamloptp | executable | indexed executable | Discovered from the local executable index. |
ocamlprof | executable | indexed executable | Discovered from the local executable index. |
ocamlrun | executable | indexed executable | Discovered from the local executable index. |
ocamlrun-a104 | executable | indexed executable | Discovered from the local executable index. |
ocamlrund | executable | indexed executable | Discovered from the local executable index. |
ocamlrund-a104 | executable | indexed executable | Discovered from the local executable index. |
ocamlruni | executable | indexed executable | Discovered from the local executable index. |
ocamlruni-a104 | executable | indexed executable | Discovered from the local executable index. |
ocamlyacc | executable | indexed executable | Discovered from the local executable index. |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
install metadata
| Package key | brew:ocaml |
|---|---|
| Version | 5.5.0 |
| Package manager | Homebrew |
| Homepage | https://ocaml.org/ |
| Repository | https://github.com/ocaml/ocaml |
| Last updated | 2026-07-13T05:11:30Z |
| Pulse | updated |
| Bottle | not recorded |
| Service | none declared |
source trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.