mirror of
https://github.com/apple/pkl.git
synced 2026-04-25 09:48:41 +02:00
Adjust installation docs (#1010)
This commit is contained in:
@@ -2,7 +2,6 @@
|
|||||||
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-ubi: https://github.com/houseabsolute/ubi
|
|
||||||
|
|
||||||
:uri-sonatype-snapshot-download: https://s01.oss.sonatype.org/service/local/artifact/maven/redirect?r=snapshots&g=org.pkl-lang&v={pkl-artifact-version}
|
:uri-sonatype-snapshot-download: https://s01.oss.sonatype.org/service/local/artifact/maven/redirect?r=snapshots&g=org.pkl-lang&v={pkl-artifact-version}
|
||||||
: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
|
||||||
@@ -89,7 +88,7 @@ endif::[]
|
|||||||
[[mise]]
|
[[mise]]
|
||||||
=== Mise
|
=== Mise
|
||||||
|
|
||||||
On macOS, Linux, and Windows, release versions can be installed using {uri-ubi}[the Universal Binary Installer (UBI)] with {uri-mise}[Mise].
|
On macOS, Linux, and Windows, release versions can be installed with {uri-mise}[Mise].
|
||||||
|
|
||||||
ifdef::is-release-version[]
|
ifdef::is-release-version[]
|
||||||
To install Pkl, run:
|
To install Pkl, run:
|
||||||
@@ -97,16 +96,16 @@ To install Pkl, run:
|
|||||||
[source,shell]
|
[source,shell]
|
||||||
[subs="+attributes"]
|
[subs="+attributes"]
|
||||||
----
|
----
|
||||||
|
# Install and activate Pkl globally
|
||||||
mise use -g pkl@{pkl-version}
|
mise use -g pkl@{pkl-version}
|
||||||
----
|
|
||||||
|
|
||||||
You can then run `mise use` to activate the latest version either globally or locally:
|
# Install and activate Pkl locally
|
||||||
|
mise use pkl@{pkl-version}
|
||||||
|
----
|
||||||
|
endif::[]
|
||||||
|
|
||||||
[source,shell]
|
ifndef::is-release-version[]
|
||||||
----
|
For instructions, switch to a release version of this page.
|
||||||
mise use -g ubi:apple/pkl@latest # Activate it globally
|
|
||||||
mise use ubi:apple/pkl@latest
|
|
||||||
----
|
|
||||||
endif::[]
|
endif::[]
|
||||||
|
|
||||||
[[download]]
|
[[download]]
|
||||||
|
|||||||
Reference in New Issue
Block a user