This guide gets you from nothing to a running Micracode with your first project open in the workspace.
Download the latest macOS build from the Releases page and open it. There's no Node.js, no Python, and no backend to run separately — the core runs in-process inside the app.
On first launch, open Settings, paste an API key for your provider (OpenAI, Google Gemini, or Anthropic), and skip to Create your first project below.
For contributors, or to run the web UI in a browser.
| Tool | Version | Install |
|---|---|---|
| Node | v22.18.0 |
nvm: nvm install 22.18.0 && nvm use |
| Bun | >= 1.1.0 |
bun: curl -fsSL https://bun.sh/install | bash |
The repo's .nvmrc pins the Node version, so nvm use from the project
root picks the right one.
git clone <your fork or the upstream repo> micracode
cd micracode
nvm usebun install # installs all workspaces (web, core, desktop, shared)Copy the committed template to a .env at the repo root and fill in
one provider's key:
cp .env.example .env
$EDITOR .envMinimum to get going:
NEXT_PUBLIC_API_BASE_URL=http://localhost:8000
OPENAI_API_KEY=your-openai-key
# or GOOGLE_API_KEY=... / ANTHROPIC_API_KEY=...See Configuration for the full reference.
Run the desktop app (web UI + core in-process, inside Electron):
bun run desktop…or run the web + core stack in your browser:
bun run devThis starts two processes in parallel:
- Web: http://localhost:3000
- Core backend: http://127.0.0.1:8000
Leave it running; you'll see logs from both in the same terminal.
- Open the app window (or http://localhost:3000 in browser mode).
- On the home page, type a one-line description of what you want to build into the prompt box and submit.
- You'll be taken to the workspace, where the chat panel, file tree, editor, and preview are visible. Generated files appear in the tree as the model streams them in.
- Use the chat panel to iterate — ask for changes, fixes, or new features. Edits you make in the Monaco editor are saved to disk.
That's it. Your project's source files now live under ~/opener-apps/
— see Projects on Disk for the layout.
- Using the Workspace — tour the UI and the three panels.
- Configuration — change providers, ports, or storage location.
- Troubleshooting — if something didn't start.