mirror of
https://github.com/apple/pkl.git
synced 2026-04-24 01:08:34 +02:00
Add docs for installing via winget (#1171)
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
include::ROOT:partial$component-attributes.adoc[]
|
include::ROOT:partial$component-attributes.adoc[]
|
||||||
:uri-homebrew: https://brew.sh
|
:uri-homebrew: https://brew.sh
|
||||||
:uri-mise: https://mise.jdx.dev
|
: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-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
|
: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.
|
For instructions, switch to a release version of this page.
|
||||||
endif::[]
|
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]]
|
||||||
=== Download
|
=== Download
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user