Skip to content

Configuration Not Applied: Claude Code WSL Routing Config Not Updated

Quick fix

Set the configuration directory to the file path used inside WSL in CC Switch Settings > Advanced. If the issue persists after upgrading to 4.0, provide…

Error output
cc-switch的配置未生效
English translation

The cc-switch configuration is not taking effect.

Windows and WSL do not share the same configuration file. Therefore, when the Windows configuration directory is selected, Claude Code inside WSL will not read the configuration written by CC Switch. A user added in the comments that when the configuration directory was set to a WSL path, enabling routing still did not update it, while disabling routing updated it normally. The maintainer closed the issue because v4.0 had been released with major changes to the interface and configuration-writing method; it was not confirmed whether this routing case was fixed.

  1. In CC Switch Settings > Advanced, set the configuration directory to the actual configuration file path used inside WSL.

  2. If the configuration directory already points to a WSL path but enabling routing still does not update it, upgrade to 4.0 and report the issue again with the actual reproduction steps; the issue does not confirm that this case was fixed.

ToolClaude Code
Version3.18.0
PlatformsWindows
Do WSL and Windows share a configuration file?
No. Set the CC Switch configuration directory to a file path inside WSL.
Why is the configuration still not updated after enabling routing when the directory points to a WSL path?
The issue comments say WSL updated normally when routing was disabled, but not when it was enabled. The maintainer recommended upgrading to v4.0 but did not confirm that this routing case was fixed.

This is an unofficial community wiki with no affiliation to the cc-switch authors or the project itself. Its content is compiled from the project's public GitHub issues. This site distributes no software.