Skip to content

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.

Error output
只要新增的环境变量就无法删除,并且显示是由hermes托管,但是hermes里面并没有相关配置环境。
English translation

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.

  1. Check Hermes's config.yaml and confirm whether it contains configuration corresponding to the environment variables that cannot be deleted.

    Hermes 的 config.yaml
    删除对应的环境变量配置
ToolClaude Code
Version3.15.0(报告出现问题)
PlatformsmacOS

This page is distilled from 1 real issues

(No FAQ yet)

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.