# \[ANN\] opam 2.2.0~alpha release!

**URL:** <https://discuss.ocaml.org/t/ann-opam-2-2-0-alpha-release/12536>\
**Category:** Ecosystem\
**Tags:** opam, announce\
**Created:** [July 4, 2023, 10:50am UTC](https://discuss.ocaml.org/t/ann-opam-2-2-0-alpha-release/12536 "2023-07-04T10:50:23Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![rjbou](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ocaml.org/rjbou/32/1124_2.png) [@rjbou](https://discuss.ocaml.org/u/rjbou)\
**Post date:** [July 4, 2023, 10:50am UTC](https://discuss.ocaml.org/t/ann-opam-2-2-0-alpha-release/12536/1 "2023-07-04T10:50:24Z")

</div>

On behalf of the opam dev team, I’m happy to announce you the [alpha release of opam 2.2.0](https://github.com/ocaml/opam/releases/tag/2.2.0-alpha). 🎉

## What’s new in this alpha ?

- [🔗](https://opam.ocaml.org/blog/opam-2-2-0-alpha/#Windows-Support) Native Windows compatibility, you can now launch opam in your favorite Windows terminal! For the moment, it needs an preexisting Cygwin installation, a limitation that will be lifted for the alpha2.

- [🔗](https://opam.ocaml.org/blog/opam-2-2-0-alpha/#Recursive-Pin) Recursive pinning to have opam look for `.opam` files in subdirectories.

- [🔗](https://opam.ocaml.org/blog/opam-2-2-0-alpha/#Tree-View) Tree view of your installed packages dependencies (and reverse dependencies).

- [🔗](https://opam.ocaml.org/blog/opam-2-2-0-alpha/#Recommended-Development-Tools) Recommended development tools variable `{with-dev-setup}` and option `--with-dev-setup`. It is used the same way as `with-doc` and `with-test`. E.g. `depends: ["ocamlformat" {with-dev-setup & = "0.23.0"}]`.

- [🔗](https://opam.ocaml.org/blog/opam-2-2-0-alpha/#Software-Heritage-Binding) [Software Heritage](https://www.softwareheritage.org) fallback for archive retrieval.

- [🔗](https://opam.ocaml.org/blog/opam-2-2-0-alpha/#Formula-Experimental) `opam install` with formulas, like for for switch creation.

- [🔗](https://opam.ocaml.org/blog/opam-2-2-0-alpha/#New-Options) Several new options for `pin`, `exec`, `source`, `clean`, `switch`, and `admin`.

- And of course numerous enhancements, fixes and updates.

You’ll find these features presented in the [blog post](https://opam.ocaml.org/blog/opam-2-2-0-alpha/), and for a more detailed view you can take a look at the [release note](https://github.com/ocaml/opam/releases/tag/2.2.0-alpha) or [changelog](https://github.com/ocaml/opam/blob/2.2.0-alpha/CHANGES).

We encourage you to try out this alpha release, instructions are detailed in the [blog post](https://opam.ocaml.org/blog/opam-2-2-0-alpha), in particular for [Windows](https://opam.ocaml.org/blog/opam-2-2-0-alpha/#How-to-Test-opam-on-Windows).

_\<\> \<\> The opam team \<\> \<\>_ 🐪

---

_[View the full topic](https://discuss.ocaml.org/t/ann-opam-2-2-0-alpha-release/12536)._
