# Restart Terminal

> Rebuild the .NET terminal host, restart it, and wait for /healthz. Use after any C# change under apps/terminal, or when asked to "restart the terminal host".

- Skill: `suxrobgm/restart-terminal` (Agent Skill)
- Install (CLI): `npx skillmds@latest add suxrobgm/restart-terminal`
- Raw SKILL.md: https://api.skillmd.com/api/skills/suxrobgm/restart-terminal/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: suxrobgm (https://skillmd.com/u/suxrobgm)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/suxrobgm/restart-terminal

---


# Restart terminal host

1. `dotnet test tests/JobPilot.Terminal.Tests` - don't restart on a red suite.
2. `bun run build:terminal` (needs the VS Installer directory on PATH for `vswhere.exe`).
3. Stop the running host process (`jobpilot.exe` or the `dev:terminal` task), then start the
   new build.
4. Poll `http://localhost:4102/healthz` until it responds; report success or the failing step.

