Feedback on this post is welcome on Discuss!

We are happy to announce the second beta release of opam 2.6.0. You can view the full list of changes in the release note.

This version is a beta, we invite users to test it to spot previously unnoticed bugs as we head towards the stable release.

Try it!

The upgrade instructions are unchanged:

  1. Either from binaries: run

For Unix systems

bash -c "sh <(curl -fsSL https://opam.ocaml.org/install.sh) --version 2.6.0~beta2"

or from PowerShell for Windows systems

Invoke-Expression "& { $(Invoke-RestMethod https://opam.ocaml.org/install.ps1) } -Version 2.6.0~beta2"

or download manually from the Github "Releases" page to your PATH.

  1. Or from source, manually: see the instructions in the README.

You should then run:

opam init --reinit -ni

Changes compared to 2.6.0~beta1

  • Fix a performance regression where opam project trees were scanned for nothing, when pinning them (#7098)

  • The Windows binary generated during our release process is now reproducible (#7097, #7115)

Some other internal improvements were made. API changes are also denoted in the release note linked above. This release also includes a couple of extensions to our testsuite.

Please report any issues to the bug-tracker.

Happy hacking!


Special thanks to the Haematology department and Bone Marrow Transplant Unit of the NHS Greater Glasgow for making this release possible <3