Guide · Updated November 17, 2026

How to manage local dev servers on Mac and Windows without terminal tabs

Short answer: put your dev servers in ServerHat, a free app for the Mac menu bar and the Windows notification area. One click starts, stops, restarts or opens each server, and you can see its status, its log, and what is holding a port.

No terminal window per server to keep open, and no hunting for the process that owns port 3000.

Written by GuruHat, which makes ServerHat.

The usual ways, and where they get awkward

ApproachWorks well forWhere it gets awkward
One terminal tab or window per serverOne or two serversTabs pile up, closing one ends the server, and nothing tells you a server crashed.
Run in the background (& or nohup on Mac, Start-Process on Windows)Quick one-offsYou lose the output and have to remember the process ID to stop it.
A command-line process managerTeams that live in the terminalNeeds a config per project and gives you no always-visible status.
ContainersMatching productionHeavy when you only want to run npm run dev.
A menu-bar app (ServerHat)Several local servers across projectsRuns commands, not containers. Mac (Apple silicon) and Windows only.

Set it up in three steps

  1. Install ServerHat. On a Mac (macOS 13 or later, Apple silicon): brew install --cask getguruhat/tap/serverhat. On Windows 10 (1903+) or 11: run the installer, or use Scoop. Both are on the ServerHat page.
  2. Add your servers. Use + to add any command with arguments, a folder and a port, or to import a .claude/launch.json. On a Mac, + › Import project… also takes the dev script (or start) from package.json, a web: entry from a Procfile, or a Docker Compose file.
  3. Use the menu. Click the globe in the menu bar (Mac) or notification area (Windows). Each server has Start/Stop, Restart, Open in browser and View logs, plus Start all and Stop all when you have more than one.
# Mac
brew install --cask getguruhat/tap/serverhat

# Windows (PowerShell)
scoop bucket add guruhat https://github.com/getguruhat/scoop-bucket
scoop install guruhat/serverhat

On Windows 11 the icon may hide behind the ^ arrow. Drag it onto the taskbar to keep it in view.

See what is running, and what broke

Do it by hand: find what is using a port

You do not need an app for this one.

# Mac: who is listening on port 3000?
lsof -i :3000
kill 12345          # the PID shown

# Windows (PowerShell)
netstat -ano | findstr :3000
taskkill /PID 12345 /F   # the PID shown in the last column

It also works for AI coding agents

ServerHat has an MCP server, so Claude Code and Codex can start, restart and read logs of your servers, and the servers outlive the session. Any command an agent adds waits for your approval. See how to let Claude Code and Codex run your dev servers.

What to know

Frequently asked questions

How do I stop a server that is using port 3000?

On a Mac, run lsof -i :3000 and stop the process with kill and the PID it shows. On Windows, run netstat -ano | findstr :3000 and stop it with taskkill /PID and the number shown. ServerHat does this for you: when a server's port is already taken, it shows which process holds it.

How do I keep a dev server running after I close Terminal?

A server started in a terminal window usually ends with that window. Start it from ServerHat instead: it keeps a log, runs the command so that Stop also ends whatever it started, and the server stays up until you stop it or quit ServerHat.

How do I see which dev servers are running on my Mac?

Open the ServerHat icon in the Mac menu bar or the Windows notification area. Each server shows its status (running, stopped, crashed or port in use) with its address as a link. Without an app, lsof -iTCP -sTCP:LISTEN -P lists every listening port on a Mac, and netstat -ano | findstr LISTENING does on Windows.

Can I start all my dev servers with one click?

Yes. ServerHat has Start all and Stop all, and each server can also start when ServerHat starts and at login.

Where does ServerHat keep its logs and settings?

On a Mac, logs are in ~/Library/Logs/ServerHat/<id>.log and settings are in ~/Library/Application Support/ServerHat/servers.json. On Windows, logs are in %LOCALAPPDATA%\ServerHat\Logs and settings are in %APPDATA%\ServerHat\servers.json. It is the same readable JSON format on both.

Is ServerHat free?

Yes. It is free and open source, with no account and no analytics. It runs on macOS 13 or later (Apple silicon) and on Windows 10 (version 1903 or later) and Windows 11.

Get ServerHat free for Mac or Windows