@somfan2001/claudeenv
v1.0.2
Published
Standalone CLI tool to edit Claude settings on macOS
Downloads
56
Readme
Claude Settings Editor (macOS)
A simple standalone web UI helper tool to read and edit the environment variables (env) object in your Claude Code CLI configuration file (~/.claude/settings.json) on macOS.
Installation
Install globally using npm:
npm install -g @somfan2001/claudeenvQuick Start
Run the following command in your terminal to start the local helper server:
claudeenv- Open http://localhost:20129 in your web browser.
- Edit your environment variables (e.g.
ANTHROPIC_AUTH_TOKEN,ANTHROPIC_BASE_URL, or add custom envs). - Click "Lưu Cấu Hình" (Save Configuration) to save directly back to your local
settings.jsonfile. - When finished, simply click the red "Tắt Server" (Shutdown Server) button on the web page to stop the server process and close the browser tab.
Why use this?
Since macOS configurations can be tricky and Claude Code settings are stored outside of workspace boundaries, this tool helps you bypass IDE write restrictions (like Trae or VS Code sandbox EPERM errors) by running locally with native terminal permissions.
