Category
Documentation
What problem does this solve?
This will solve the issue that might be encountered on the Code tab when trying to create a session but the Claude Code CLI is not detected.
Replicable on Ubuntu 24.04 LTS after installation.
Proposed solution
Setting the CLAUDE_CODE_LOCAL_BINARY environment variable ensures it is checked before getHostPlatform() is called, effectively bypassing the broken Linux platform check.
This can be added to the Troubleshooting section if others are able to replicate the issue.
Alternatives considered
Setting CLAUDE_CODE_LOCAL_BINARY env var, which is checked before getHostPlatform() is ever called — completely bypassing the broken Linux platform check
Contribution
Category
Documentation
What problem does this solve?
This will solve the issue that might be encountered on the Code tab when trying to create a session but the Claude Code CLI is not detected.
Replicable on Ubuntu 24.04 LTS after installation.
Proposed solution
Setting the CLAUDE_CODE_LOCAL_BINARY environment variable ensures it is checked before getHostPlatform() is called, effectively bypassing the broken Linux platform check.
This can be added to the Troubleshooting section if others are able to replicate the issue.
Alternatives considered
Setting CLAUDE_CODE_LOCAL_BINARY env var, which is checked before getHostPlatform() is ever called — completely bypassing the broken Linux platform check
Contribution