Claude Code · Inside a session

Run a shell command

Start a line with ! to run it in your shell and add the output to the conversation.

!git status

Official Claude Code documentation

More inside a session commands

All inside a session commands · Claude Code cheatsheet

Was this page helpful?