Follow Discord
Sweep 25 Sep 2026 · 19:33Z Build v2.1.283 504 read Stable v2.1.274 Latest v2.1.283 Next v2.1.283 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.281 ·

Sandboxed bash on macOS/Linux now exports TMPDIR to the sandbox temp dir

Sandboxed commands on macOS and Linux now get TMPDIR pointed at the sandbox's own temporary folder

Entry
JSON All of v2.1.281
EntryKind: in v2.1.281,
ChangesSection of the release
What

A sandbox is a restricted space that limits what a command Claude runs can touch. When a command runs in the sandbox and the sandbox has its own temporary folder (sandboxTmpDir), Claude Code now sets TMPDIR to that folder on macOS and Linux before the command starts. TMPDIR is the setting programs read to decide where to put temporary files.

Before this, temporary-folder variables were set this way only on Windows.

Why

Programs run in the sandbox on macOS and Linux now write their temporary files into the sandbox's own temporary folder, as they already did on Windows.

See this entry in the whole of v2.1.281 →

Feedback