Skip to content
OPAM is a source-based package manager for OCaml. It supports multiple simultaneous compiler installations, flexible package constraints, and a Git-friendly development workflow.
OCaml TeX Shell Other
Find file
Pull request Compare This branch is 1612 commits behind ocaml:master.
Latest commit 71b2a01 @rdicosmo rdicosmo Merge pull request #1210 from rdicosmo/add-cmdline-options
Clarify that --criteria takes preference over OPAMCRITERIA.
Failed to load latest commit information.
doc Fix stale references to and update doc
jenkins jenkins: update for riakc
m4 remove caml4boot from the test, as its not used and sometimes (on Deb…
ocp-build Import ocp-build from OCamlPro/typerex@b2a8dbd
shell Release: allow `make` to be overridden via the `MAKE` env var
src Clarify that --criteria takes preference over OPAMCRITERIA.
src_ext Merge pull request #1200 from rdicosmo/new-solver-criteria
tests Add a 'bug-reports' field. Useful for OCamlot triaging.
.gitignore Support `make cold` to build OPAM without an OCaml compiler being ava…
.ocp-indent Make --dry-run a real dry-run, and add --show to check the update travis: latest opam-rt test requires an external solver, installing a…
.travis.yml Fix and improve the travis scripts
AUTHORS Tweak the AUTHORS list a little bit
CHANGES Update CHANGES update CONTRIBUTING to ask for `opam config report`
LICENSE A few copyright and license fixes Fix #602
Makefile Added a new 'opam-installer' script to make .install files usable out… Revert previous change to the configure: we don't need to check for t… Fix stale references to and update doc
configure Update generated files for 1.1.1 Update generated files for 1.1.1 Fix build for ocp-build + external packages
opam.install Bundled opam-mk-repo and opam-repo-check in opam-admin

OPAM - A package manager for OCaml

OPAM is a source-based package manager for OCaml. It supports multiple simultaneous compiler installations, flexible package constraints, and a Git-friendly development workflow.

OPAM is created and maintained by OCamlPro.

To get started, checkout the Quick Install guide.


For transparency and insight into our release cycle, and for striving to maintain backward compatibility, OPAM will be maintained under the Semantic Versioning guidelines as much as possible.

Releases will be numbered with the following format:


And constructed with the following guidelines:

  • Breaking backward compatibility bumps the major (and resets the minor and patch)
  • New additions without breaking backward compatibility bumps the minor (and resets the patch)
  • Bug fixes and misc changes bumps the patch

For more information on SemVer, please visit

It is expected than upgrade work transparently between minor releases: an OPAM binary with version x.y.z should be able to use the OCaml packages and compilers created with OPAM version x.(y-1).0

Bug tracker

Have a bug or a feature request ? Please open a new issue. Before opening any issue, please search for existing issues.


Keep track of development and community news.

  • Have a question that's not a feature request or bug report? Ask on the mailing list.

  • Chat with fellow OPAMers in IRC. On the server, in the #ocaml or the #opam channel.


Please submit all pull requests against the master branch.


User Manual

The main documentation entry point to OPAM is the user manual, available using opam --help. To get help for a specific command, use opam <command> --help.


A collection of tutorials are available online at These tutorials are automatically generated from the wiki and are also available in PDF format in the doc/tutorials directory.

API, Code Documentation and Developer Manual

The API documentation is available online and under the doc/html/ directory; the developer manual is in the doc/dev-manual/ directory.

Related repositories

  • ocaml/opam-repository is the official repository for OPAM packages and compilers. A number of non-official repositories are also available on the interwebs, for instance on Github.
  • opam2web generates a collection of browsable HTML files for a given repository. It is used to generate
  • opam-rt is the regression framework for OPAM.
  • opamlot is the automated QA environment for OPAM.

Copyright and license

Copyright 2012-2013 OCamlPro
Copyright 2012 INRIA

All rights reserved. OPAM is distributed under the terms of the GNU Lesser General Public License version 3.0.

OPAM is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

Something went wrong with that request. Please try again.