# \[ANN\] opam 2.2.0~beta2

**URL:** <https://discuss.ocaml.org/t/ann-opam-2-2-0-beta2/14461>\
**Category:** Ecosystem\
**Tags:** opam, announce\
**Created:** [April 10, 2024, 1:18pm UTC](https://discuss.ocaml.org/t/ann-opam-2-2-0-beta2/14461 "2024-04-10T13:18:01Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![kit-ty-kate](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ocaml.org/kit-ty-kate/32/5953_2.png) [@kit-ty-kate](https://discuss.ocaml.org/u/kit-ty-kate)\
**Post date:** [April 10, 2024, 1:18pm UTC](https://discuss.ocaml.org/t/ann-opam-2-2-0-beta2/14461/1 "2024-04-10T13:18:01Z")

</div>

Hi everyone,

We’re very excited to announce this second beta for opam 2.2.0.

## What’s new in this beta?

- **Windows support** : this beta introduces a bunch of changes necessary to be able to make the default opam-repository support Windows out of the box. We will write a dedicated blog post very soon on this, once we have finalised the PR/branch that you can test.
- **opam-repository scalability** : The current draft resolution resulting from the discussion in [ocaml/opam-repository#23789](https://github.com/ocaml/opam-repository/issues/23789) includes the removal of packages from opam-repository. Currently opam can misbehave (in particular on macOS) when exposed to file deletions in repositories due to the use of the system `patch` command. To fix this, as a stop gap, after many trials and errors, opam now warns when GNU patch is not detected on your system. These changes will make their way to the upcoming opam 2.1.6, in a few weeks.
- Many **regression fixes** , **performance** and general **improvements**

📖 You can read our [blog post](https://opam.ocaml.org/blog/opam-2-2-0-beta2/) for more information about these changes and more, and for even more details you can take a look at the [release note](https://github.com/ocaml/opam/releases/tag/2.2.0-beta2) or the [changelog](https://github.com/ocaml/opam/blob/2.2.0-beta2/CHANGES).

## How to upgrade

- For Windows we will write a dedicated blog post to show how to install and use opam on Windows very soon. Stay tuned!

- On Unix-like systems, to upgrade, simply run:

We’re on the home stretch for the final release of opam 2.2.0, so feel free to report any issue you encounter on our [bug-tracker](https://github.com/ocaml/opam/issues).

Happy hacking,  
_\<\> \<\> The opam team \<\> \<\>_ 🐪

---

<div class="post-metadata">

**Author:** ![jacnj](https://avatars.discourse-cdn.com/v4/letter/j/71c47a/32.png) [@jacnj](https://discuss.ocaml.org/u/jacnj)\
**Post date:** [May 7, 2024, 5:55am UTC](https://discuss.ocaml.org/t/ann-opam-2-2-0-beta2/14461/2 "2024-05-07T05:55:54Z")

</div>

Hi.

For the alpha/beta1 releases there are pre-built Windows binaries.  
Is it possible to download the same for 2.2.0~beta2 somewhere?

Thank you.

---

<div class="post-metadata">

**Author:** ![dra27](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ocaml.org/dra27/32/5294_2.png) [@dra27](https://discuss.ocaml.org/u/dra27)\
**Post date:** [May 9, 2024, 2:15pm UTC](https://discuss.ocaml.org/t/ann-opam-2-2-0-beta2/14461/3 "2024-05-09T14:15:50Z")

</div>

> [@jacnj](#):
>
> Is it possible to download the same for 2.2.0~beta2 somewhere?

Not directly at the moment, but a vanilla build of opam 2.2.0 beta2 [is available in winget](https://winstall.app/apps/Diskuv.opam) (i.e. `winget install opam` will give you 2.2.0 beta2 at the moment), thanks to @jbeckford at Diskuv.

---

<div class="post-metadata">

**Author:** ![dbuenzli](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ocaml.org/dbuenzli/32/18_2.png) [@dbuenzli](https://discuss.ocaml.org/u/dbuenzli)\
**Post date:** [May 9, 2024, 2:30pm UTC](https://discuss.ocaml.org/t/ann-opam-2-2-0-beta2/14461/4 "2024-05-09T14:30:36Z")

</div>

Is `winget` something installed on Windows systems nowadays ? (I couldn’t figure out how to install `winget` from the website you linked to).

---

<div class="post-metadata">

**Author:** ![kit-ty-kate](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ocaml.org/kit-ty-kate/32/5953_2.png) [@kit-ty-kate](https://discuss.ocaml.org/u/kit-ty-kate)\
**Post date:** [May 9, 2024, 2:44pm UTC](https://discuss.ocaml.org/t/ann-opam-2-2-0-beta2/14461/5 "2024-05-09T14:44:23Z")

</div>

you can install winget through the Microsoft Store linked [here](https://learn.microsoft.com/en-us/windows/package-manager/winget/)

---

<div class="post-metadata">

**Author:** ![dra27](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ocaml.org/dra27/32/5294_2.png) [@dra27](https://discuss.ocaml.org/u/dra27)\
**Post date:** [May 9, 2024, 3:00pm UTC](https://discuss.ocaml.org/t/ann-opam-2-2-0-beta2/14461/6 "2024-05-09T15:00:26Z")

</div>

It’s also a default part of Windows 11 (maintained through Microsoft Store)
