Skip to content
BENIBIX Learn

/restart Command

Also known as /restart, /update, Apply an update

It restarts Claude Code to apply an update, and keeps the chat.

Think of it like

It is like you turn a toy off and on, so the new part works.

Example

A note under Emma's prompt says a new version is installed. She types /restart, and a few seconds later she is back in the same chat on the new version.

Why it matters

You get the fixes and the new parts, and you keep the same chat.

Definition

/restart closes Claude Code and opens it again with the same session, which applies an update that has already been installed. Run it when the bar at the bottom says an update is ready. It needs a Pro, Max or Ultra plan and a native install on macOS or Linux. It does not run on WSL.

Example code

console
/restart
Apply the new version and keep this session.

Common mistake

Expecting it to fetch the update. It only turns on one that is already in place.

Key takeaways

  1. 1
    Applies an update. Already installed.
  2. 2
    Same session. The chat stays.
  3. 3
    Native installs. macOS or Linux.

Compare

Learn it properly