> ## Content Index
> Fetch the complete content index at: https://www.philsimon.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# Adding a Restart Command to Claude Code
- URL: https://www.philsimon.com/adding-a-restart-command-to-claude-code/
- Published: 2026-09-08T12:34:10.000Z
- Updated: 2026-09-08T17:45:52.000Z
- Description: Anthropic currently doesn't ship a native one. I decided to change that.
- Author: Phil Simon
- Tags: Claude, AI, Macs, GitHub, Automation

Claude Code continues to amaze me with its fast and furious [updates](https://www.philsimon.com/anthropic-new-feature-frenzy/). At the same time, though, its lacks certain basic capabilities we've come to expect from contemporary software. Case in point: a proper `/restart` command.

As long as I've been a [fanboy](https://www.philsimon.com/why-im-all-in-on-claude/), I've had to use the `/exit` command. In Terminal, I'd then type `/claude` to install updates and effect changes to my config.json file.

Not anymore. 

## A Simple Restart Command

As of today, I restart Claude Code by via a [Raycast](https://raycast.com/?via=philsimon&ref=philsimon.com) hotkey. As you can see below, I use **⇪** \+ R, but you can easily roll your own. 

![](https://storage.ghost.io/c/8f/b5/8fb5e321-49a6-4cf5-8a28-c6f6d5417e54/content/images/2026/09/raycast.jpeg)

Raycast Screenshot | September 8, 2026

Technically, you don't need Raycast to run the script. 

Since everyone should be able to restart Claude Code with a single command, I'm making the code available via GitHub. 

[ACCESS THE REPO](https://github.com/philsimon/raycast-claude-code-restart?ref=philsimon.com)

Geek on.

Simon Workplace Tech Assessment 

Want a free look into how your team, department, or organization uses its current tools and what it can do better?

[LEARN MORE ](https://www.philsimon.com/products-simon-workplace-tech-assessment/)