Install
TL;DR. Clone the repo, run
./install.sh, thenwun doctorshould print green checks. The CLI is a single Babashka script that walks up to find the monorepo root, so it works from anywhere inside a Wun checkout.
Prerequisites
Wun ships as a monorepo of language-native runtimes. You need:
| tool | for |
|---|---|
| Java 21+ | running the Pedestal/Jetty server |
| Clojure | server + cljs builds via shadow-cljs |
| Node 18+ | shadow-cljs npm deps + the docs site |
| Babashka | the wun CLI itself |
| Swift 5.9+ | iOS / macOS demo (Xcode toolchain on Mac) |
| Gradle 8+ | Compose Desktop / Android demo |
wun doctor will tell you what’s missing once the CLI is on PATH.
Install the CLI
-
Clone the framework.
Terminal window git clone https://github.com/Holy-Coders/wun.gitcd wun -
Run the installer. Pick whichever fits your shell:
Terminal window # from a clone:./install.sh# or, once the repo is publicly hosted:curl -fsSL https://raw.githubusercontent.com/Holy-Coders/wun/master/install.sh | bashThe installer ensures Babashka is on PATH (offers
brew installon macOS), then symlinksbin/wuninto/usr/local/bin/(or~/.local/bin/if the former isn’t writable). Re-running is safe — the symlink is overwritten in place. -
Verify.
Terminal window wun doctorYou should see green checkmarks for each tool plus
✓ repo root: …. If anything is missing, the doctor output points at the install command for that tool.
Auto-upgrade
If the local checkout falls behind, the next wun <cmd> shows:
! wun is 3 commits behind master (1 BREAKING) upgrade now? [y/N]Hit y to fast-forward and re-run migrations, or N to skip.
Read next
- Your first app —
wun new appwalked end-to-end. - Why Wun — when SDUI is the right hammer.
- CLI reference — every subcommand.