PkgSteward
Audience: End UserLast verified against repo: 2026-11-28

Running PkgSteward

Start both the API service (:24681) and Web UI (:24680) from a single terminal at the repository root.

Start in development mode

Run the development command from the repository root to start both [api] and [web] in one terminal.
01

Run the root dev command and open the Web UI

Start the workspace with pnpm dev (or npm run dev / yarn dev) and visit http://localhost:24680.
bash
pnpm dev
Expected result: The API service listens on http://127.0.0.1:24681/api/v1 and the Web UI opens at http://localhost:24680.
Recommended · Reads committed pnpm-lock.yaml
bash
pnpm dev
Uses pnpm 11 (recommended) or pnpm 10 to install both apps/api and apps/web from the committed pnpm-lock.yaml lockfiles.

Build and run in production mode

For everyday local use without hot-reload overhead, set MODE="production" in apps/api/.env, build both apps once, and run start. On pnpm start, PkgSteward automatically opens your default browser once the Web UI is ready (set PKGSTEWARD_NO_BROWSER=1 to disable auto-open).
Recommended · Reads committed pnpm-lock.yaml
bash
# Set MODE="production" in apps/api/.env first
pnpm build
pnpm start
Uses pnpm 11 (recommended) or pnpm 10 to install both apps/api and apps/web from the committed pnpm-lock.yaml lockfiles.

Using custom ports when 24680 or 24681 is busy

If another local service uses port 24680 or 24681, update PORT and LIST_ORIGIN_CORS in apps/api/.env and matching PORT and API_BASE_URL in apps/web/.env.local (or change them via Preview → Confirm inside Settings).
ini
# apps/api/.env
PORT=24781
LIST_ORIGIN_CORS="http://localhost:24780"
​
# apps/web/.env.local
PORT=24780
API_BASE_URL=http://127.0.0.1:24781/api/v1
Last verified against repo: 2026-11-28 (README.md)View source doc on GitHub(opens in new tab)