Set Up Locally
Prerequisites
Section titled “Prerequisites”| Tool | Version |
|---|---|
| Node.js | 24+ |
| pnpm | 11.1.1 |
| Docker + Compose v2 | Docker 25+ |
| Go | 1.26+ |
| Python | 3.14+ |
| Bun | 1.3.14 |
The contributor toolchain is intentionally newer than the supported user runtime floors (Node 22+, Python 3.12+ in Compatibility); packages are built with current tools while still targeting the published floors.
Install Dependencies
Section titled “Install Dependencies”git clone https://github.com/Garudex-Labs/caracal.gitcd caracalpnpm run setuppnpm run setup installs the Node workspace, downloads Go modules, creates .venv, installs pinned Python test/style tools, and installs local Python packages in editable mode. Use plain pnpm install only when the Node workspace is the entire scope.
Read CONTRIBUTING.md in the repository root for the contributor policy, review expectations, and testing requirements.
Start the Local Stack
Section titled “Start the Local Stack”pnpm caracal uppnpm caracal status --readyThe runtime initializes its managed development secrets during startup, builds local service images, and binds host ports to loopback. Run pnpm secrets:init only when a focused infrastructure task explicitly needs the standalone secret initializer.
Open the Web Console
Section titled “Open the Web Console”open http://localhost:3001The packaged web console starts with the stack. Use pnpm caracal web only when developing the web console or auth BFF locally.
Verify the Checkout
Section titled “Verify the Checkout”pnpm run stylescripts/testCi.sh --smokeIf either command fails on an untouched checkout, resolve the toolchain problem before editing source.
Stop or Reset
Section titled “Stop or Reset”pnpm caracal downpnpm caracal purgeUse purge only when you intentionally want to remove local stack/runtime state.
Next Step
Section titled “Next Step”Read Follow Project Standards before editing source files.

