Claude Code CLI 常用命令

安装与启动

Linux / macOS

1
2
3
4
5
6
# 安装 Claude Code(需要 Node.js 18+)
npm install -g @anthropic-ai/claude-code

# 进入项目目录后启动
cd your-project
claude
阅读全文 »

一、基础概念

  • WSL:Windows 子系统 Linux,让你在 Windows 上直接运行 Linux 环境。
  • WSL 1 vs WSL 2:
    • WSL 1:通过翻译层运行,访问 Windows 文件较快。
    • WSL 2:基于真实 Linux 内核(轻量级虚拟机),系统调用兼容性好、性能高,推荐使用。
阅读全文 »
0%