Skip to content

Installing Orchard

There are three ways to install Orchard. Choose whichever suits your setup:

  1. Standard — built from source.
  2. Docker — a container built from source.
  3. Docker — a container from the published image.
  • A host machine — One you control, that is able to reach the services you manage (Bitcoin, Lightning, Cashu Mint).
  • For the standard installNode.js v22, which includes npm.
  • For the Docker install — Docker with the Compose plugin.

All install paths start from a checked-out release tag. Clone the repository and check out the latest release.

Terminal window
git clone https://github.com/cashubtc/orchard.git
cd orchard
git fetch --tags
git checkout v1.9.0 # latest release tag

Before starting Orchard, create your .env from the example and fill it in:

Terminal window
cp .env.example .env
nano .env

At minimum set SETUP_KEY; everything else has a sensible default or is optional. The Configuration page walks through every option, including how to point Orchard at your Bitcoin, Lightning, and Cashu Mint services.

Install dependencies, build the app, and start it:

Terminal window
npm install
npm run build
npm run start

Orchard now serves on SERVER_HOST:SERVER_PORT (localhost:3321 by default). Open that address to reach the dashboard.

To update, start by checking out the new release tag. Pick the tab that matches your setup.

Check out the new release tag, then rebuild and restart:

Terminal window
git fetch --tags
git checkout v1.9.0 # the latest release tag
npm install
npm run build
npm run start

Install Installation

Last updated: