Configuration Path Ignored: CLAUDE_HOME Environment Variable Not Respectedwha
Resolved 💬 6 comments Opened Jun 5, 2025 by aaronmallen Closed Jun 5, 2025
Bug Description
Claude does not respect CLAUDE_HOME configuration
echo $CLAUDE_HOME
/Users/aaron/.local/share/claude
However claude still makes $HOME/.claude and stores all the files there
Environment Info
- Platform: macos
- Terminal: WarpTerminal
- Version: 1.0.11
- Feedback ID: ce1e4711-1cca-4ab7-8811-8e25b87cde40
Errors
[{"error":"Error: Command failed: security find-generic-password -a $USER -w -s \"Claude Code\"\nsecurity: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n\n at genericNodeError (node:internal/errors:983:15)\n at wrappedFn (node:internal/errors:537:14)\n at checkExecSyncError (node:child_process:892:11)\n at execSync (node:child_process:964:15)\n at JZ (file:///Users/aaron/.local/share/claude/node_modules/@anthropic-ai/claude-code/cli.js:683:2402)\n at file:///Users/aaron/.local/share/claude/node_modules/@anthropic-ai/claude-code/cli.js:582:11763\n at Q (file:///Users/aaron/.local/share/claude/node_modules/@anthropic-ai/claude-code/cli.js:526:17069)\n at LU (file:///Users/aaron/.local/share/claude/node_modules/@anthropic-ai/claude-code/cli.js:582:10909)\n at HG (file:///Users/aaron/.local/share/claude/node_modules/@anthropic-ai/claude-code/cli.js:582:10355)\n at lO2 (file:///Users/aaron/.local/share/claude/node_modules/@anthropic-ai/claude-code/cli.js:2042:4758)","timestamp":"2025-06-05T14:27:40.533Z"},{"error":"RangeError [ERR_CHILD_PROCESS_STDIO_MAXBUFFER]: stdout maxBuffer length exceeded\n at Socket.onChildStdout (node:child_process:482:14)\n at Socket.emit (node:events:507:28)\n at Socket.emit (node:domain:489:12)\n at addChunk (node:internal/streams/readable:559:12)\n at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)\n at Readable.push (node:internal/streams/readable:390:5)\n at Pipe.onStreamRead (node:internal/stream_base_commons:189:23)","timestamp":"2025-06-05T14:27:41.139Z"}]This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗