Commands

!command

Command
!ls -la

Run a shell command inline without leaving the Claude session.

When to use

Quick file inspection, git status, or running a build without switching terminals.

Example

!git status
!cat package.json
!npm test

Related commands