← Blog
DEVELOPMENT

Fork a session with /fork

The /fork command creates a new session from the current one with the same context.

Team Command Code
1 min read
Sep 8, 2026

The /fork command creates a new session from the current one with the same context.

Try Command Code

The best coding agent for open models, in your terminal or on your desktop.

1npm i -g command-code

Desktop App · Docs · X · Discord

Share this article