Claude code

1:安装 Claude code

1: 环境: 先安装nodejs Node.js --- Download Node.js®

/ window + git Git - Install for Windows

2: PowerShell 执行策略限制 :默认 Restricted(受限) 禁止运行任何 .ps1 脚本文件

3: 修改权限: 可执行脚本:

Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser

RemoteSigned 是一个安全且常用的设置:允许运行您自己电脑上的本地脚本,远程下载的脚本需要有可信签名才能运行。
-Scope CurrentUser 表示只对当前用户生效,不需要管理员权限。

4: 安装 Claude code : npm install -g @anthropic-ai/claude-code

5: 验证安装:

node -v

npm -v

claude --version

2:speckit 命令

/speckit.constitution 读取 AGENTS.md ,把里面写好的 Agent 约束、项目规则吸收进constitution.md

相关推荐
Molesidy10 小时前
【Git】分别给出添加到Keil工程和IAR工程中的gitnore文件以便不跟踪编译文件的git记录
git·vscode·插件
www.0212 小时前
Codex额度用完怎么办?Windows定时自动继续VS Code Codex任务实战
人工智能·windows·vscode·自动化·openai·codex·autohotkey
golang学习记13 小时前
Zed 新特性:这次继续抄VSCode
vscode·编辑器·zed
皓月盈江19 小时前
Linux系统使用VSCode搭建GO开发环境
linux·vscode·ubuntu·golang·debian
宁静致远20211 天前
VSCode 开发 STM32 的 Keil工程 (Keil Assistant)
vscode·stm32·stm32cubeide
晴天162 天前
VSCodium 项目介绍
前端·javascript·vscode
进击的炸酱面3 天前
如何在服务器中使用codex?代理配置一图详解
ide·vscode·ssh
持敬chijing3 天前
VSCode 远程开发环境完整搭建指南:汉化、SSH 免密连接与版本更新锁定
ide·vscode·ssh
郝学胜-神的一滴3 天前
C++11 工程级应用 09:告别无谓拷贝,解锁高性能移动语义
开发语言·数据结构·c++·vscode·软件工程·visual studio
weixin_402486344 天前
VS Code Codex/Claude Extension 无法安装 / 无法正常打开
linux·服务器·vscode