Lazy loaded image
技术笔记
各种CLI的配置指南
Words 197Read Time 1 min
2025-11-16
2025-11-28
type
status
date
slug
summary
tags
category
icon
password

Claude Code - 一次性配置指南

Windows 安装及配置Claude Code CLI

  • 执行全局安装命令(powershell)
      1. npm install -g @anthropic-ai/claude-code
  • 权限问题处理,若出现权限错误请使用powershell执行以下命令
      1. #以管理员身份运行PowerShell
      1. Set-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
上一篇
打卡代码学习第三天
下一篇
🚀 AI 驱动游戏开发工作流笔记:Unity (团结引擎) + MCP + Claude + Gemini