mirror of
https://github.com/apple/pkl.git
synced 2026-01-11 22:30:54 +01:00
Adjust installation docs (#1010)
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
include::ROOT:partial$component-attributes.adoc[]
|
||||
:uri-homebrew: https://brew.sh
|
||||
: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-pkl-macos-amd64-download: {uri-sonatype-snapshot-download}&a=pkl-cli-macos-amd64&e=bin
|
||||
@@ -89,7 +88,7 @@ endif::[]
|
||||
[[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[]
|
||||
To install Pkl, run:
|
||||
@@ -97,16 +96,16 @@ To install Pkl, run:
|
||||
[source,shell]
|
||||
[subs="+attributes"]
|
||||
----
|
||||
# Install and activate Pkl globally
|
||||
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]
|
||||
----
|
||||
mise use -g ubi:apple/pkl@latest # Activate it globally
|
||||
mise use ubi:apple/pkl@latest
|
||||
----
|
||||
ifndef::is-release-version[]
|
||||
For instructions, switch to a release version of this page.
|
||||
endif::[]
|
||||
|
||||
[[download]]
|
||||
|
||||
Reference in New Issue
Block a user