⚡ create-ln-app

Make a Lightning app with one command. Get a local regtest network that is ready to use.

npx create-ln-app my-lapp
cd my-lapp
npm run dev

Then open http://localhost:5173 and pay your first invoice.

What you get

What you need

Other ways to make a project

Shell script, for macOS, Linux, and WSL2. It checks Node.js, npm, and Docker Compose. Then it runs npx create-ln-app.

curl -fsSL https://create-ln-app.dev/install.sh | bash -s -- my-lapp

Homebrew, for macOS and Linux. The formula installs Node.js, but not Docker.

brew install bnonni/tap/create-ln-app
create-ln-app my-lapp

Windows: use WSL2 with Ubuntu. Do the Windows steps. Then run the commands in the Ubuntu terminal.