Claude Code使用笔记
来自https://x.com/shao__meng/status/1950196917595754662的ClaudeCode技巧 安装 你需要有nodejs这样的环境,bun没进行测试.需要安装npm或者pnpm包管理器 安装 Claude Code nodejs环境 pnpm install -g @anthropic-ai/claude-code bun环境 Option 1: Install globally and run bun add -g @anthropic-ai/claude-code bun run --bun claude Option 2: Use bunx to run directly bunx --bun @anthropic-ai/claude-code Add MCP Server (This works!) You can add the MCP server using this command: claude mcp add context7 -- bunx -y @upstash/context7-mcp deno环境 安装Deno curl -fsSL https://deno.land/install.sh | sh 全局按照Claude code deno install --global -A npm:@anthropic-ai/claude-code 将 ~/....