Search the documentation
5 pages for tmpdir.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
quickstart
Claude Developer Platform · in the page
agents-and-tools/agent-skills/quickstart
…e_id" ]]; then # Download the file and save it output_path="${TMPDIR:-/tmp}/renewable_energy.pptx" curl --fail-with-body -sS "https://api.anthropic.com/v1/files/$file_id/content" \ -…
mid-conversation-effort-example
Claude Developer Platform · in the page
build-with-claude/mid-conversation-effort-example
…mp, readFile, rename, writeFile } from "node:fs/promises"; import { tmpdir } from "node:os"; import { join } from "node:path"; import { promisify } from "node:util"; import Anthropic from "@a…
Claude Code changelog
Claude Code CLI · in the page
changelog
…d bash commands failing under bazel and EDR-protected Go workflows: `$TMPDIR` was overridden to `/tmp/claude-{uid}` for all commands instead of only sandboxed ones (regression in 2.1.154) * Fixed Ba…
Choose a permission mode
Claude Code CLI · in the page
permission-modes
…and later also block these by default: * Deleting files in `/tmp`, `$TMPDIR`, or another shared scratch or cache directory by wildcard, glob, or age filter rather than by a specific named path * Incl…
Configure the sandboxed Bash tool
Claude Code CLI · in the page
sandboxing
…esystem isolation](#disable-filesystem-isolation), Claude Code sets `$TMPDIR` to this directory for sandboxed commands, so tools that write temporary files work without extra configuration. Unsandboxe…