Environment variables

CLAUDE_CODE_TMPDIR

Specifies a custom base directory where Claude Code places internal temporary files and folders.

Syntax

CLAUDE_CODE_TMPDIR

Type to search the reference, templates and lessons.