Skip to content

Latest commit

 

History

History
98 lines (66 loc) · 2.04 KB

File metadata and controls

98 lines (66 loc) · 2.04 KB

Herd Quickstart

Use this guide for the shortest path from clone to a running local Herd app.

Prerequisites

You need:

  • Node.js and npm
  • Rust toolchain
  • Tauri system prerequisites for your OS
  • tmux
  • zsh

Optional but useful:

  • socat for manual socket API checks

1. Install Dependencies

Install the root workspace dependencies:

npm install

If you want agent launches to use the checked-in .mcp.json, also build the MCP bridge once:

cd mcp-server
npm install
npm run build
cd ..

2. Start Herd

Run the desktop app in development mode:

npm run tauri dev

That starts the Vite dev server, launches the Tauri app, ensures Herd's private tmux server exists, and opens the app window.

On supported platforms, Herd may also prompt to install agent-browser and Chrome for Testing on first launch. You can skip that and stay on the default live_webview backend until you want the alternate browser runtime.

3. Use The Local CLI

Before the installed app binary is on your PATH, use the repo-local wrapper:

bin/herd tile list
bin/herd network list

After the app starts, Herd refreshes ~/.local/bin/herd, so the installed command is usually available as:

herd tile list
herd message root "Please inspect the local session"

4. Common Development Loops

Frontend-only iteration:

npm run dev

Production frontend bundle:

npm run build

Static checks and tests:

npm run check
npm run test:unit
npm run test:integration

Lower-level tmux integration script:

bash bin/test-herd.sh

5. Read Next