Hi everyone,
Following up the regression reported a couple of days ago affecting some users of pin-depends, we are releasing 2.4.1.
You can read our blog post for relevant links and details.
Try it!
The upgrade instructions are unchanged:
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"
Please report any issues to the bug-tracker .
Happy hacking,
<> <> The opam team <> <>
9 Likes
Wile
September 21, 2025, 4:57pm
2
Hello, I’m using windows11 and Powershell, upgrading from 2.2.1 got this message:
We detected another opam binary installed at ‘C:\Users\MyName\AppData\Local\Microsoft\WinGet\Links\opam.exe’. To ensure problems won’t occur later, please uninstall it or remove it from the PATH
What is the best to do?
It means you already had installed opam via winget, so it depends what you want to do. Both binaries are the exact same.
So if you’re planning to keep using winget i’d say just upgrade opam using
winget upgrade --id OCaml.opam
instead