[BUG] Desktop app Claude Code tab ignores env.PATH in settings.json
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
Description
The Claude Code tab in the Claude desktop app (v1.569.0) ignores the env.PATH
setting in ~/.claude/settings.json. The Bash tool always runs with PATH=/usr/bin:/bin:/usr/sbin:/sbin regardless of configuration.
This worked in a previous version.
Notes
The Claude Code CLI (claude in terminal) correctly applies env.PATH from the same settings.json
Also tried adding env to ~/Library/Application Support/Claude/claude_desktop_config.json — no effect
Also tried ~/.zshenv with export PATH=... — no effect
macOS, Apple Silicon, app v1.569.0
What Should Happen?
Expected: PATH includes /opt/homebrew/bin etc.
Actual: PATH is /usr/bin:/bin:/usr/sbin:/sbin
Error Messages/Logs
Steps to Reproduce
- Set
env.PATHin~/.claude/settings.json:
```json
{
"env": {
"PATH": "/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
}
}
- Restart the Claude desktop app
- Open a Claude Code tab
- Ask Claude to run echo $PATH
Expected: PATH includes /opt/homebrew/bin etc.
Actual: PATH is /usr/bin:/bin:/usr/sbin:/sbin
Claude Model
Opus
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
Claude 1.569.0 (49894a) 2026-04-02T20:01:42.000Z
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗