Hermes environment variables cannot be deleted - Claude Code
Quick fix
Check Hermes's config.yaml and remove the relevant configuration; this user-comment suggestion was not verified in the original post.
Symptom
Section titled “Symptom”只要新增的环境变量就无法删除,并且显示是由hermes托管,但是hermes里面并没有相关配置环境。Any newly added environment variable cannot be deleted and is shown as managed by hermes, but there is no related environment configuration in hermes.
The report states that newly added environment variables could not be deleted and were marked as managed by Hermes, although no corresponding environment configuration was found in Hermes. This occurred in a macOS report for cc-switch 3.15.0.
One commenter believed the configuration source was Hermes's config.yaml and said the variables would disappear after removing the relevant content. However, the original post did not confirm whether this worked, and closing the issue does not itself mean the problem was fixed.
Check Hermes's config.yaml and confirm whether it contains configuration corresponding to the environment variables that cannot be deleted.
Hermes 的 config.yaml 删除对应的环境变量配置
Affected Versions
Section titled “Affected Versions”Source Issues
Section titled “Source Issues”This page is distilled from 1 real issues
(No FAQ yet)
Related problems
Section titled “Related problems”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.