You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/modules/ROOT/pages/basics/up_and_running.adoc
+14-5Lines changed: 14 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -208,11 +208,20 @@ so we'll examine them tool by tool.
208
208
* `cider-clojure-cli-parameters` - the command-line parameters to start a REPL
209
209
* `cider-clojure-cli-aliases` - a list of aliases to be used at jack-in time
210
210
211
-
To use `cider-jack-in` with `tools.deps` on Windows set the
212
-
`cider-clojure-cli-command` to `"powershell"`. This happens by default
213
-
if you are on Windows and no `clojure` executable is found. Using
214
-
`"powershell"` will Base64 encode the clojure launch command before
215
-
passing it to PowerShell and avoids shell-escaping issues.
211
+
On MS-Windows, CIDER will employ `PowerShell` to execute Clojure if no
212
+
`clojure` executable is found in the PATH (e.g. like the one supplied
213
+
by https://github.com/borkdude/deps.clj[deps.clj]). The default
214
+
executable used is `powershell` which is available on all Windows
215
+
platforms. Using `PowerShell` will Base64 encode the clojure launch
216
+
command before passing it to PowerShell and avoids shell-escaping
217
+
issues.
218
+
219
+
The functionality of `cider-clojure-cli-command` has been verified
220
+
with the following alternatives
221
+
222
+
* `pwsh`: This option proves beneficial when the user has installed the https://github.com/clojure/tools.deps.alpha/wiki/clj-on-Windows[ClojureTools] module on pwsh in a directory not accessible by the system's PowerShell installation.
223
+
* `deps.exe`: This executable is part of the tools provided by
224
+
https://github.com/borkdude/deps.clj[deps.clj] as an alternative name for `clojure.exe`.
216
225
217
226
NOTE: Alternatively you can use WSL (e.g. to run nREPL and Emacs there), which
218
227
will likely result in a better overall development experience.
0 commit comments