Search the documentation
7 pages for /copy.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Claude Code changelog
Claude Code CLI · in the page
changelog
…* \[VSCode] Added a Copy response button on responses and a typed `/copy` * \[VSCode] Added a one-time notice when inactive sessions are archived automatically, and an "Unarchive all" action on t…
Commands
Claude Code CLI · in the page
commands
…| | `/copy [N]` | Copy the last assist…
Configure the sandboxed Bash tool
Claude Code CLI · in the page
sandboxing
…on your clipboard, ask Claude to print it in its response, then run [`/copy`](/docs/en/commands). `/copy` writes to the clipboard from the Claude Code process rather than from a sandboxed command.…
Configure your terminal for Claude Code
Claude Code CLI · in the page
terminal-config
…al may access clipboard" under Settings → General → Selection so the `/copy` command can write to your system clipboard. The command detects iTerm2 even when run from inside tmux. Restart iTerm2 for t…
Troubleshooting
Claude Code CLI · in the page
troubleshooting
…he display is capped: the full table stays in the conversation, and [`/copy`](/docs/en/commands) copies every row. For a table too large to read in the terminal, ask Claude to write it to a file inste…
Use Claude Code in VS Code
Claude Code CLI · in the page
vs-code
…se and click **Copy response** to copy it to your clipboard, or type `/copy` to copy the latest response. `/copy 2` copies the second-to-last. Requires Claude Code v2.1.277 or later. * **Context indic…
Week 18 · April 27 – May 1, 2026
Claude Code CLI · in the page
whats-new/2026-w18
…minal-setup</code> enables iTerm2's clipboard access setting so <code>/copy</code> works, including from tmux</div> <div>Google Cloud's Agent Platform now supports X.509 certificate-based Workload…