diff --git a/docs/modules/pkl-cli/pages/index.adoc b/docs/modules/pkl-cli/pages/index.adoc index dfb7b078..05cec769 100644 --- a/docs/modules/pkl-cli/pages/index.adoc +++ b/docs/modules/pkl-cli/pages/index.adoc @@ -2,6 +2,7 @@ include::ROOT:partial$component-attributes.adoc[] :uri-homebrew: https://brew.sh :uri-mise: https://mise.jdx.dev +:uri-winget: https://learn.microsoft.com/en-us/windows/package-manager/ :uri-pkl-macos-amd64-download: {uri-sonatype-snapshot-download}&a=pkl-cli-macos-amd64&e=bin :uri-pkl-macos-aarch64-download: {uri-sonatype-snapshot-download}&a=pkl-cli-macos-aarch64&e=bin @@ -107,6 +108,31 @@ ifndef::is-release-version[] For instructions, switch to a release version of this page. endif::[] +[[winget]] +=== Windows Package Manager + +On Windows, release versions can be installed with {uri-winget}[Windows Package Manager]. + +ifdef::is-release-version[] +To install Pkl, run: + +[source,shell] +---- +winget install Apple.Pkl +---- + +To update Pkl, run: + +[source,shell] +---- +winget upgrade Apple.Pkl +---- +endif::[] + +ifndef::is-release-version[] +For instructions, switch to a release version of this page. +endif::[] + [[download]] === Download