Update develop-logseq-on-windows.md

This commit is contained in:
djm2k
2023-08-22 11:25:28 +10:00
committed by Andelf
parent 6d6da2046c
commit 7de92849dd

View File

@@ -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