From 7de92849dd8ab98f3feb220b51206f55d32a8125 Mon Sep 17 00:00:00 2001 From: djm2k <36978885+djm2k@users.noreply.github.com> Date: Tue, 22 Aug 2023 11:25:28 +1000 Subject: [PATCH] Update develop-logseq-on-windows.md --- docs/develop-logseq-on-windows.md | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/docs/develop-logseq-on-windows.md b/docs/develop-logseq-on-windows.md index fc4e63eeb1a..fc8045e37e8 100644 --- a/docs/develop-logseq-on-windows.md +++ b/docs/develop-logseq-on-windows.md @@ -2,6 +2,17 @@ This is a guide on setting up Logseq development dependencies on Windows. Once these dependencies are installed, you can follow the [develop-logseq](develop-logseq.md) docs for build instructions. +## [scoop](https://scoop.sh/) + +Scoop provides a `clojure.exe` shim which works in Command Prompt and Powershell windows. + +``` +scoop bucket add scoop-clojure https://github.com/littleli/scoop-clojure +scoop bucket add extras +scoop bucket add java +scoop install java/openjdk clj-deps babashka leiningen nodejs-lts +``` + ## Winget Winget is a package manager installed by default on windows. @@ -19,6 +30,10 @@ An installer for clojure is available from [casselc/clj-msi](https://github.com/ ## [chocolatey](https://chocolatey.org/) +Chocolatey installs Clojure as a PowerShell module and alias, and does not provide `clojure` for `cmd.exe`. + +[@andelf has written a wrapper utility](https://github.com/andelf/clojure-cli) which you can install with `cargo install --git https://github.com/andelf/clojure-cli.git` instead. + ``` choco install nvm nvm install 18 @@ -29,16 +44,6 @@ choco install javaruntime choco install clojure ``` - -## [scoop](https://scoop.sh/) - -``` -scoop bucket add scoop-clojure https://github.com/littleli/scoop-clojure -scoop bucket add extras -scoop bucket add java -scoop install java/openjdk clojure clj-deps babashka leiningen nodejs-lts -``` - ## Troubleshooting ### Configuring a proxy for internet access