Krell Project Generator
June 4, 2026 ยท View on GitHub
Scaffold a Krell (ClojureScript + React Native) project using Babashka.
Prerequisites
- Node.js
- Clojure CLI
- Babashka (installed automatically if missing)
- CocoaPods (required for iOS)
Quick Start
Replace AwesomeProject with your project name (CamelCase):
curl -s https://raw.githubusercontent.com/ampersanda/krell-template-runner/master/krell.sh | bash -s AwesomeProject
Options
-p, --package PACKAGE_NAME Organization package name (e.g. com.example.krell)
-v, --version VERSION React Native version (e.g. 0.72.0)
-h, --help Show help
Example with options:
curl -s https://raw.githubusercontent.com/ampersanda/krell-template-runner/master/krell.sh | bash -s AwesomeProject --package com.example.krell
What It Does
- Creates a React Native project via
@react-native-community/cli - Installs Node dependencies
- Adds Krell and Reagent ClojureScript dependencies (
deps.edn,build.edn) - Installs Clojure dependencies
- Runs
pod installfor iOS (if CocoaPods is available) - Generates a starter ClojureScript namespace with a Reagent component
After Setup
cd AwesomeProject
clj -M -m krell.main -co build.edn -c -r
In separate terminal tabs:
npx react-native start
# iOS
npx react-native run-ios
# Android
npx react-native run-android
Production build:
clj -M -m krell.main -v -co build.edn -O advanced -c