August 17th, 2024

Official native Windows support for OCaml with opam 2.2.0

Opam 2.2.0 introduces native Windows support, new commands for managing dependencies, improved package management features, and encourages users to back up directories before upgrading. Community contributions are highlighted.

Read original articleLink Icon
Official native Windows support for OCaml with opam 2.2.0

The opam 2.2.0 release has been announced, marking a significant update for users of the OCaml package manager. This version introduces official native Windows support after eight years of development, allowing users to run OCaml seamlessly on Windows systems. The upgrade process remains straightforward, with instructions provided for both Unix and Windows users. Key features of this release include the new commands `opam tree` and `opam why`, which help users visualize package dependencies and understand version constraints. Additionally, the `with-dev-setup` flag allows project maintainers to share development tools more easily, while the `opam pin --recursive` option enhances package management in complex project structures. Other new options and miscellaneous changes improve user experience and performance, including better handling of environment variables and support for various operating systems. Users are encouraged to back up their existing opam directories before upgrading and to report any issues encountered. The release also emphasizes the importance of community contributions in enhancing the functionality and documentation of opam.

- opam 2.2.0 introduces official native Windows support.

- New commands `opam tree` and `opam why` help manage package dependencies.

- The `with-dev-setup` flag simplifies sharing development tools.

- Recursive pinning improves package management in complex projects.

- Users should back up their directories before upgrading to the new version.

Link Icon 0 comments