Variable: cider-clojure-cli-command

cider-clojure-cli-command is a customizable variable defined in cider-jack-in.el.

Value

nil

Documentation

The command used to execute clojure with tools.deps.

When nil (the default), CIDER auto-detects the command at jack-in time:
"clojure" if available on PATH, otherwise "powershell" on Windows.
This avoids freezing the auto-detection result at package load time.

Don't use clj here, as it doesn't work when spawned from Emacs due to it using rlwrap.

This variable was added, or its default value changed, in cider version 0.17.0.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260822.1520/cider-jack-in.el
(defcustom cider-clojure-cli-command nil
  "The command used to execute clojure with tools.deps.
When nil (the default), CIDER auto-detects the command at jack-in time:
\"clojure\" if available on PATH, otherwise \"powershell\" on Windows.
This avoids freezing the auto-detection result at package load time.

Don't use clj here, as it doesn't work when spawned from Emacs due to it
using rlwrap."
  :type '(choice (const :tag "Auto-detect" nil)
                 (string :tag "Custom command"))
  :group 'cider
  :safe (lambda (s) (or (null s) (stringp s)))
  :package-version '(cider . "0.17.0"))