http://en.wikibooks.org/wiki/Clojure_Programming/Tutorials_and_Tips#Shebang_Scripting_in_Clojure Shebang Scripting in Clojure This was tested on Linux only, but should work in other Un*xes. Put this into command-line-args.clj #^:shebang '[ exec java -cp "$HOME/src/clj/clojure/clojure.jar" clojure.lang.Script "$0" -- "$@" ] (prn *command-line-args*) Make it executable with something like $ chmod ..