From 4a95e2734fce443029ee04dadc206b293b1fb56c Mon Sep 17 00:00:00 2001 From: arno Date: Thu, 25 Jun 2026 10:00:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=87=E6=A1=A3(ClaudeCode):=20=E8=A1=A5?= =?UTF-8?q?=E5=85=85=20npm=20allow-scripts=20=E9=85=8D=E7=BD=AE=E8=AF=B4?= =?UTF-8?q?=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 工程/ClaudeCode.md | 1 + 1 file changed, 1 insertion(+) diff --git a/工程/ClaudeCode.md b/工程/ClaudeCode.md index ff5ad62..1c6afed 100644 --- a/工程/ClaudeCode.md +++ b/工程/ClaudeCode.md @@ -32,6 +32,7 @@ # 安装 cd npm install -g @anthropic-ai/claude-code +npm config set allow-scripts=@anthropic-ai/claude-code --location=user claude --version # 配置