limabean is available as a Nix flake at url = "github:tesujimath/limabean", and this flake pulls in the Clojure CLI tools automatically. It currently runs from Clojars, but is likely in future to run standalone.
limabean is available in the Arch Linux user repository, so may be installed using paru -S limabean.
This runs in standalone mode.
If you have packaged or are interested in packaging limabean for your distro of choice, please reach out for help or at least a mention here. Thanks!
There are two ways to run limabean, either standalone or from Clojars. Running from Clojars means that the required Clojure packages are downloaded by the Clojure runtime on first use.
Selection of runtime is determined by the following:
- If the environment variable
LIMABEAN_CLJ_LOCAL_ROOTis defined at runtime, that is the path to local Clojure source, and is used to run the development version usingclojure - If the environment variable
LIMABEAN_UBERJARis defined at runtime, that is the path to the standalone application jarfile, which is run usingjava - If the environment variable
LIMABEAN_UBERJARwas defined at buildtime, that is the path to the standalone application jarfile, which is run usingjava - Otherwise, the application whose version matches
limabeanis run from Clojars usingclojure
Running from Clojars is recommended for anyone using the GitHub release, that is, not setting any of the environment variables listed above.
Requirements:
-
The Clojure CLI is required to be installed separately, and
clojuremust be on the user's path. -
The two Rust binaries
limabeanandlimabean-podmust be installed and on the path.
The corresponding limabean Clojure code is downloaded automatically on first run from Clojars.
Options for installing the Rust binaries:
-
Tarballs and zipfiles are provided for each GitHub release for Linux, macOS, and Windows
-
If you have a Rust toolchain installed,
cargo install limabeanwill install the two binarieslimabeanandlimabean-podinto~/.cargo/bin. Add this directory to your path before runninglimabean
On macOS it is necessary to remove the quarantine attributes after unpacking the tarball, e.g.
xattr -rd com.apple.quarantine ./limabean/bin
- install OpenJDK 25 MSI
- install Clojure 1.12 MSI
- download limabean zipfile from GitHub releases and extract somewhere
- add that directory to path
Requirements:
-
Java runtime installed separately, with
javaon the user's path. Note that thejava.sqlmodule at least is required, so a minimal jre may be insufficient. -
The two Rust binaries
limabeanandlimabean-podmust be installed and on the path. -
The limabean standalone jarfile must be available at a location given by the environment variable
LIMABEAN_UBERJAR
If this environment variable is defined when building the Rust binaries, it is not required at runtime, which is recommended when packaging limabean.
The justfile has recipes for building from source.
The two Rust binaries are built in rust/target/{release,debug}, and the jarfiles in clj/target.