文档(ClaudeCode): 补充 npm allow-scripts 配置说明
This commit is contained in:
@@ -32,6 +32,7 @@
|
|||||||
# 安装
|
# 安装
|
||||||
cd
|
cd
|
||||||
npm install -g @anthropic-ai/claude-code
|
npm install -g @anthropic-ai/claude-code
|
||||||
|
npm config set allow-scripts=@anthropic-ai/claude-code --location=user
|
||||||
claude --version
|
claude --version
|
||||||
|
|
||||||
# 配置
|
# 配置
|
||||||
|
|||||||
Reference in New Issue
Block a user