Such as:
(println clojure-version)
?
Extra repl examples
user=> (clojure-version)
"1.10.1"
user=> (println (clojure-version))
1.10.1
nil
user=> (print (clojure-version))
1.10.1nil
Use from clj
$ clj -M -e "(clojure-version)"
"1.10.1"
$ clj -M -e "(print (clojure-version))"
1.10.1
$ clj -M -e "*clojure-version*"
{:major 1, :minor 10, :incremental 1, :qualifier nil}