Skip to content

Get started

Get started with the raw CLI

Install the matching CLI and run a local-first desktop app from your terminal.

Content reviewed 30 October 2026

Use this path for direct control over setup and scaffolding. You can run it without an assistant, or add generated guidance for Claude Code, Codex, Cursor or OpenCode.

1

Check the required tools

Use Node.js 22.17 or newer and npm. The generated desktop project installs its own Electron and Pear runtime dependencies.

bash
node --version
npm --version
2

Install the matching CLI

Use 0.4.0-beta.5 for the maintained workflow. Install the exact published version below.

bash
npm install -g @unstoppable-stack/cli@0.4.0-beta.5
us --version
3

Create a workspace

This creates a workspace, not a runnable app. The command chooses no assistant; use --assistant claude or --assistant codex instead if you want generated project guidance.

bash
us init shop-workspace --assistant none --no-install
cd shop-workspace
4

Scaffold the app

The shop-starter child directory contains a minimal runnable app with peer networking and local Hyperbee storage. It does not include the Local Goods catalog or checkout.

bash
us scaffold app -p pear-desktop -n shop-starter
5

Install and run from the app folder

A desktop window should open. Keep this terminal open while the app is running.

bash
cd shop-starter
npm install
npm run dev
6

Verify persistence

Save an entry, close the app normally and start it again. The entry should remain. Local reads and writes should continue while offline; discovering and syncing with another peer requires connectivity.

Try the finished ecommerce example

The scaffold above is a minimal starting point. Local Goods adds a searchable catalog, persistent cart, demo checkout and local shopping assistant. Open Examples for its source and run instructions; checkout has no payment or fulfillment integration.

If setup fails

If us is not found, check npm prefix -g and ensure its bin directory is on PATH. For runtime problems, run the command below from shop-starter and check the first failed diagnostic. A successful scaffold is separate from a successful app launch.

bash
us doctor -p pear-desktop
Need help? Report an issue with your CLI version, platform, command and first relevant error.