Clojure Tutorial: Run/Execute One Clojure File
How to run a single Clojure file?
Run a single Clojure file like this:
java -cp clojure.jar clojure.main ‹filename›
;; save this in a file named x.clj, and you can run it by ;; java -cp clojure.jar clojure.main x.clj (println (+ 3 4))
If you have a question, put $5 at patreon and message me.