Variable: cider-clojure-cli-command

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

Value

"clojure"

Documentation

The command used to execute clojure with tools.deps.

Don't use clj here, as it doesn't work when spawned from Emacs due to it using rlwrap. If on Windows and no "clojure" executable is found we default to "powershell".

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

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider.el
(defcustom cider-clojure-cli-command
  (if (and (eq system-type 'windows-nt)
           (null (executable-find "clojure")))
      "powershell"
    "clojure")
  "The command used to execute clojure with tools.deps.
Don't use clj here, as it doesn't work when spawned from Emacs due to it
using rlwrap.  If on Windows and no \"clojure\" executable is found we
default to \"powershell\"."
  :type 'string
  :safe #'stringp
  :package-version '(cider . "0.17.0"))