claude-code - 💡(How to fix) Fix [Feature Request] Add `/restart` command to reload Claude Code session without exiting [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#46948Fetched 2026-04-12 13:28:56
View on GitHub
Comments
0
Participants
1
Timeline
3
Reactions
0
Participants
Timeline (top)
labeled ×3
RAW_BUFFERClick to expand / collapse

Feature Description How about a "/restart" or "/reboot" or "/reload" command so that I don't have to "/exit" and "claude --continue"? Preferably only user can run this command.

Environment Info

  • Platform: win32
  • Terminal: WezTerm
  • Version: 2.1.101
  • Feedback ID: 97942b05-f9b3-4632-8f76-7a1616c3497b

extent analysis

TL;DR

Implementing a "/restart" or similar command could simplify the process of restarting the application without requiring a full exit and restart.

Guidance

  • Consider adding a new command to handle the restart functionality, ensuring it is restricted to authorized users.
  • Evaluate the current "/exit" and "claude --continue" workflow to determine the best approach for integrating the new restart command.
  • Review the application's authentication and authorization mechanisms to ensure the new command can be properly restricted to users.
  • Investigate potential impacts on the application's state and any necessary steps to preserve or reset it during a restart.

Notes

The implementation details of the restart command are not specified, and the exact requirements for user authorization and application state management are unclear.

Recommendation

Apply workaround: Implement a custom script or alias that automates the "/exit" and "claude --continue" sequence for authorized users, as a potential stopgap until a native "/restart" command can be developed.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING