type
status
date
slug
summary
tags
category
icon
password
Claude Code - 一次性配置指南
一键配置指南(推荐)
PrivCLI 是 Privnode 发布的一款自动配置工具,可自动配置任意支持的 Coding CLI 工具。
使用方法
确保 Node.js 与 npm 已安装
运行
npm -v如果有输出,则可以下一步。 如果报错未找到命令,请参考 Node.js 安装指南。
一键配置
运行
npx @privnode/cli@latest auto随后遵循终端中的指南即可自动配置。
mcp在vscode里面加才行
claude mcp add --transport http --scope user tavily https://mcp.tavily.com/mcp/?tavilyApiKey=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 mcp add --transport http --scope user unitymcp http://localhost:8080/mcpclaude mcp add --transport http --scope user context7 https://mcp.higress.ai/mcp-context7/cmawshy2b00608a01efzea1vn命令参考
install
安装指定的 CLI 工具。
install-all
安装所有可用的 CLI 工具。
upgrade
升级指定的 CLI 工具。
upgrade-all
升级所有可用的 CLI 工具。
uninstall
解除安装指定的 CLI 工具。
uninstall
解除安装所有可用的 CLI 工具。
auto
特定 CLI 工具的交互式设置向导。
auto-all
所有可用 CLI 工具的交互式设置向导。
doctor
生成 CLI 运行环境诊断报告以作故障排除用途。
Windows 安装及配置Claude Code CLI
- 执行全局安装命令(powershell)
npm install -g @anthropic-ai/claude-code
- 权限问题处理,若出现权限错误请使用powershell执行以下命令
#以管理员身份运行PowerShellSet-ExecutionPolicy -ExecutionPolicy Remotesigned -Scope Currentuser
Linux / macOS:
Windows (PowerShell):
Claude Code - 持久化配置指南
修改
~/.claude/settings.json:Codex - 配置指南
Windows:
%USERPROFILE%\.codex\config.toml:%USERPROFILE%\.codex\auth.json:Linux / macOS:
~/.codex/config.toml:~/.codex/auth.json:- Author:王吹风
- URL:https://harry.vfxskill.com/article/9
- Copyright:All articles in this blog, except for special statements, adopt BY-NC-SA agreement. Please indicate the source!



