opam
« Back to VersTracker
Description:
OCaml package manager
Type: Formula  |  Latest Version: 2.5.0@0  |  Tracked Since: Nov 27, 2025
Links: Homepage  |  @ocaml_platform  |  formulae.brew.sh
Category: Developer tools
Tags: ocaml package-manager development dependency-management compiler
Install: brew install opam
About:
OPAM is a package manager for OCaml that handles the installation of compiler switch versions, libraries, and tools. It simplifies dependency management by allowing developers to pin specific package versions and manage multiple sandboxed environments. The tool enables easy sharing of project setups through lock files and repository remotes.
Key Features:
  • Multi-switch compiler management
  • Dependency solving and version pinning
  • Sandboxed environment isolation
  • Lock file generation for reproducible builds
  • Extensible package repository system
Use Cases:
  • Managing multiple OCaml compiler versions on a single system
  • Creating reproducible build environments for OCaml projects
  • Distributing and consuming OCaml libraries and applications
Alternatives:
  • esy – Esy uses npm for package management and focuses on esy-based projects, while OPAM is the native OCaml ecosystem standard
  • opam-local – Local switches provide isolated environments similar to Python virtualenv but integrated with OPAM's dependency solver
Version History
Detected Version Rev Change Commit
Nov 27, 2025 2:10pm 0 VERSION_BUMP 90dd178a
Sep 10, 2025 10:50pm 1 VERSION_BUMP e5093a10
Nov 14, 2024 1:10am 0 VERSION_BUMP 7141d3cb