title: "opam 2.4.1 release" authors: [ "Raja Boujbel - OCamlPro" {"mailto:raja.boujbel(à)ocamlpro.com"} "Kate Deplaix - Ahrefs" {"mailto:kit-ty-kate(à)exn.st"} "David Allsopp - Tarides" {"mailto:david(à)tarides.com"} ] date: "2025-07-23" --BODY--
Feedback on this post is welcomed on Discuss!
We are pleased to announce the release of opam 2.4.1 fixing a regression affecting some uses of pin-depends, and encourage all users to upgrade.
Please read on for installation and upgrade instructions.
- Fix
pin-dependsbeing ignored withopam install --deps-only(#6610)
This release also extends the tests.
The upgrade instructions are unchanged:
- Either from binaries: run
For Unix systems
bash -c "sh <(curl -fsSL https://opam.ocaml.org/install.sh) --version 2.4.1"
or from PowerShell for Windows systems
Invoke-Expression "& { $(Invoke-RestMethod https://opam.ocaml.org/install.ps1) } -Version 2.4.1"
or download manually from the Github "Releases" page to your PATH.
- Or from source, manually: see the instructions in the README.
You should then run:
opam init --reinit -ni
Please report any issues to the bug-tracker.
Happy hacking!