From ad131b554325e566d2b9a24419d89950327d2feb Mon Sep 17 00:00:00 2001 From: Daniel Chao Date: Mon, 3 Mar 2025 12:19:13 -0800 Subject: [PATCH] Adjust installation docs (#1010) --- docs/modules/pkl-cli/pages/index.adoc | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/docs/modules/pkl-cli/pages/index.adoc b/docs/modules/pkl-cli/pages/index.adoc index 265cba9d..11aa6701 100644 --- a/docs/modules/pkl-cli/pages/index.adoc +++ b/docs/modules/pkl-cli/pages/index.adoc @@ -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]]