From c8cb11558831e5bda6ae21ddba4fa602b674c8c4 Mon Sep 17 00:00:00 2001 From: tobil4sk Date: Thu, 12 Dec 2024 14:35:12 +0000 Subject: [PATCH 1/2] Add winget command for installing --- doc/pages/Install.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/doc/pages/Install.md b/doc/pages/Install.md index 3601dcf33bf..7e6ba7bcbc9 100644 --- a/doc/pages/Install.md +++ b/doc/pages/Install.md @@ -58,7 +58,7 @@ sudo install /usr/local/bin/opam > you can use pre-built [Docker images for various > configurations](https://hub.docker.com/r/ocaml/opam). -## Using your distribution's package system +## Using your system's package manager This is generally the recommended way, **when available and up-to-date** (you can check [here](Distribution.html) the latest @@ -200,6 +200,14 @@ The opam package for [guix](https://www.gnu.org/software/guix/) can be installed guix install opam ``` +#### Windows + +[![badge](https://repology.org/badge/version-for-repo/winget/opam.svg)](https://repology.org/project/opam/versions) + +``` +winget install Git.Git OCaml.opam +``` + ## From Sources #### Getting the Sources From fbca2411558806dd1474c3169260ac095e76a4a7 Mon Sep 17 00:00:00 2001 From: tobil4sk Date: Thu, 12 Dec 2024 14:40:13 +0000 Subject: [PATCH 2/2] Update master_changes.md --- master_changes.md | 1 + 1 file changed, 1 insertion(+) diff --git a/master_changes.md b/master_changes.md index d8ccb0eaea4..b62f60f4ded 100644 --- a/master_changes.md +++ b/master_changes.md @@ -168,6 +168,7 @@ users) * Fix typo in pin edit man page doc [#6315 @shym] * Clarify documentation for `enable` pseudo-variable [#5659 @gridbugs] * Manual: add information when flags (`avoid-version`, `deprecated`) were introduced [#6320 @hannesm] + * Add winget command for installing opam [#6338 @tobil4sk] ## Security fixes