Getting started

Sessions and restarts

Your shells keep running when Nems is closed, and come back after your Mac restarts.

Sessions keep running

Your shells run in a background server, not in the window. When you quit Nems, everything you started keeps running, and it's all there when you open Nems again.

To stop everything, choose Quit and Stop All Sessions… (⌥⌘Q) and confirm with Stop Sessions and Quit.

Settings › General › Background server shows whether the server is running and how many sessions it has, with Show Data Folder and Quit and Stop All Sessions….

After a restart

Workspaces, tabs, panes and notes always come back as you left them. Programs that were running can't survive a restart, so Nems asks which ones to start again:

Welcome back. Restart what was running?

  • Check the commands you want and click Restart, or click Not now.
  • Turn on Restart checked commands automatically next time to skip the question.
  • Right-click a command and choose Never Ask for This Command to leave it out from now on.

Only commands that ran for at least 10 seconds are offered. Commands that could do harm start unchecked, with a note like "Uses sudo, off by default". Nems watches for sudo, deploys, pushes, deletes, infrastructure changes, publishing and dropped data.

If you choose Not now, each pane shows Was running before the restart with a Restart button.

Agents pick up where they left off

Agents are resumed with their own resume command, so the conversation continues:

  • Claude Code is started with --resume and its session.
  • Codex is started with codex resume.

Turn this off in Settings › General › After a restart › Resume agent sessions automatically. The same section lists the commands you chose to always restart or never ask about.

Where Nems keeps its data

Everything is in ~/Library/Application Support/Nems/: the saved state, notes, logs and the server's socket.

Something missing or unclear? Tell us