cli
Standalone CLI tool for bootstrapping new Boundary projects and adding optional modules. Installed via bbin — does not require the monorepo. Generated projects are fully self-contained.
|
Note
|
Not published to Clojars. Installed via bbin from the GitHub repository. |
Install
curl -fsSL https://get.boundary-app.org | bash
The installer handles all prerequisites: JVM, Clojure CLI, Babashka, bbin, and the boundary command itself.
Supports macOS, Debian/Ubuntu, Arch Linux, and WSL2.
Fallback if get.boundary-app.org is unavailable:
curl -fsSL https://raw.githubusercontent.com/thijs-creemers/boundary/main/scripts/install.sh | bash
Commands
Create a new project
boundary new my-app # Scaffold a new project
boundary new my-app --force # Overwrite existing directory
Generates a complete project with four core modules pre-wired: core, observability, platform, and user. The project is immediately runnable after clojure -M:migrate up.
Add a module
boundary add payments # PSP abstraction (Stripe / Mollie / Mock)
boundary add cache # Redis / in-memory caching
boundary add search # Full-text search (Meilisearch)
boundary add jobs # Background job processing
Wires the module into deps.edn, system.clj, and migration files.
List available modules
boundary list modules # Human-readable table
boundary list modules --json # Machine-readable JSON
Show version
boundary version
Generated project structure
my-app/
├── deps.edn # Clojure deps with :migrate, :repl-clj, :test aliases
├── bb.edn # Babashka tasks (scaffold, check, doctor, deploy, ...)
├── dev-config.edn # Development environment config
├── test-config.edn # Test environment config
├── src/
│ └── my_app/
│ └── system.clj # Component system wiring
└── AGENTS.md # AI agent context file
Manual bbin install (advanced)
If you prefer to manage your own bbin installation:
bbin install https://github.com/thijs-creemers/boundary \
--tag v1.0.1-alpha-15 \
--git/root libs/boundary-cli \
--main-opts '["-m" "boundary.cli.main"]' \
--as boundary
AI agent tooling
The installer also installs clj-nrepl-eval and clj-paren-repair from clojure-mcp-light for REPL-over-MCP workflows:
clj-nrepl-eval --discover-ports # Connect AI agent to running REPL