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.
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.
node --version
npm --versionInstall the matching CLI
Use 0.4.0-beta.5 for the maintained workflow. Install the exact published version below.
npm install -g @unstoppable-stack/cli@0.4.0-beta.5
us --versionCreate 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.
us init shop-workspace --assistant none --no-install
cd shop-workspaceScaffold 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.
us scaffold app -p pear-desktop -n shop-starterInstall and run from the app folder
A desktop window should open. Keep this terminal open while the app is running.
cd shop-starter
npm install
npm run devVerify 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.
us doctor -p pear-desktopCLI reference
Published beta commands and differences from earlier 0.3.0.
Read moreAdd local AI
Use QVAC after the desktop baseline works.
Read moreTroubleshooting
Recognize a setup failure and find the next check.
Read morePackages and integrations
One P2P library, upstream SDKs and optional applications.
Read more