@somfan2001/claudeenv 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +27 -0
- package/package.json +1 -1
package/README.md
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# Claude Settings Editor (macOS)
|
|
2
|
+
|
|
3
|
+
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.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
Install globally using `npm`:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npm install -g @somfan2001/claudeenv
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Quick Start
|
|
14
|
+
|
|
15
|
+
Run the following command in your terminal to start the local helper server:
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
claudeenv
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
1. Open **[http://localhost:20129](http://localhost:20129)** in your web browser.
|
|
22
|
+
2. Edit your environment variables (e.g. `ANTHROPIC_AUTH_TOKEN`, `ANTHROPIC_BASE_URL`, or add custom envs).
|
|
23
|
+
3. Click **"Lưu Cấu Hình"** (Save Configuration) to save directly back to your local `settings.json` file.
|
|
24
|
+
4. 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.
|
|
25
|
+
|
|
26
|
+
## Why use this?
|
|
27
|
+
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.
|