OPAM 1.0.0 Released

We have previously announced the beta-release of OPAM. After two intense months of work, we are now very proud to announce the first official release of OPAM!

This release fixes many bugs and adds few new features to the previously announced beta-release.

The most visible new feature, which should be useful for beginners with OCaml and OPAM, is an auto-configuration tool. This tool easily enables all the features of OPAM (auto-completion, fix the loading of scripts for the toplevel, opam-switch-eval alias, etc). This tool runs interactively on each opam init invocation. If you don’t like OPAM to change your configuration files, use opam init --no-setup. If you trust the tool blindly, use opam init --auto-setup.

[code language=”bash” gutter=”false”]
opam init # Interactive setup
opam init –no-setup # No configuration change
opam init –auto-setup # Automatic setup

You can later change the setup by doing:

[code language=”bash” gutter=”false”]
opam config setup –list # show your current setup
opam config setup –all # Enable all the features of OPAM

You can of course manually review and modifye the changes made b by editing your ~/.profile (or ~/.zshrc for zsh users), ~/.ocamlinit and the ~/.opam/opam-init/* init scripts.


Please report:

  • Bug reports and feature requests for the OPAM tool here.
  • Packaging issues or requests for a new package here.
  • General queries to the platform list.
  • More specific queries about the internals of OPAM to the OPAM devel list.


Packages for Debian and OSX (at least homebrew) should follow shortly and I’m looking for volunteers to create and maintain rpm packages. The binary installer is up-to-date for Linux and Darwin 64-bit architectures, the 32-bit version for Linux should arrive shortly.

If you want to build from sources, the full archive (including dependencies) is available at:



If you are upgrading from 0.9.* (eg. if you have at least installed the beta release announced in January) you won’t have anything special to do apart installing the new binary. You can then update your package metadata by running opam update. If you want to use the auto-setup feature, remove the “eval opam config env line you have previously added in your ~/.profile and run opam config setup --all.

So everything should be fine. But you never know … so if something goes horribly wrong in the upgrade process (of if your are upgrading from an old version of OPAM) you can still trash your ~/.opam, manually remove what OPAM added in your ~/.profile (~/.zshrc for zsh users) and ~/.ocamlinit, and start again from scratch.

Random Statistics

The OPAM project on Github is very pleasantly active. We have got lot of contribution from a lot of different people, and I am very pleased to regularly discover new and interesting OCaml projects pushed to the OPAM repository. So thanks everybody for the great contributions!

We have worked hard to deliver OPAM and we are very delighted to get a warm welcome from the community. This give us a lot of motivation to continue improving OPAM!



On http://opam.ocamlpro.com/

  • +400 unique visitor per week, 15k opam update per week
  • +1300 unique visitor per month, 55k opam update per month
  • 3815 unique visitor since the alpha release


The full change-log is available here

Leave a Reply

Your email address will not be published. Required fields are marked *