Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (13 sloc) 918 Bytes


A Leiningen plugin for producing standalone console executables that work on OS X, Linux, and Windows.

It basically just takes your uberjar and stuffs it in another file with some fancy magical execution stuff.


This is a leiningen plugin. If you're using lein 1, run lein plugin install lein-bin <current-version> to install it. If you're using lein 2, add the plugin to your default profile in ~/.lein/profiles.clj.

Your project needs to have a :main field specifying the namespace that contains your -main function. If you have that, just run lein bin and it'll produce a standalone executable for your project. Note that your main namespace currently needs to be AOT compiled (it just needs to have :gen-class specified in its ns declaration).


Copyright (C) 2012 Anthony Grimes, Justin Balthrop

Distributed under the Eclipse Public License, the same as Clojure.

Jump to Line
Something went wrong with that request. Please try again.