Add homebrew instructions to docs (#270)

This commit is contained in:
Daniel Chao
2024-02-29 11:02:36 -08:00
committed by Dan Chao
parent d9f8b8efa9
commit 8209ea78bd

View File

@@ -54,32 +54,31 @@ and runs complex Pkl code slower than the native executables.
All flavors are built from the same codebase and undergo the same automated testing. All flavors are built from the same codebase and undergo the same automated testing.
Except where noted otherwise, the rest of this page discusses the native executables. Except where noted otherwise, the rest of this page discusses the native executables.
//TODO uncomment this after brew formula is merged and available [[homebrew]]
// [[homebrew]] === Homebrew
// === Homebrew
// Release versions can be installed with {uri-homebrew}[Homebrew].
// Release versions can be installed with {uri-homebrew}[Homebrew].
// ifdef::is-release-version[]
// ifdef::is-release-version[] To install Pkl, run:
// To install Pkl, run:
// [source,shell]
// [source,shell] ----
// ---- brew install pkl
// brew install pkl ----
// ----
// To update Pkl, run:
// To update Pkl, run:
// [source,shell]
// [source,shell] ----
// ---- brew update
// brew update brew upgrade pkl # or just `brew upgrade`
// brew upgrade pkl # or just `brew upgrade` ----
// ---- endif::[]
// endif::[]
// ifndef::is-release-version[]
// 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::[]
[[download]] [[download]]
=== Download === Download