Claude Code

Claude code

安装

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
# 安装 nvm
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash
source ~/.bashrc
nvm --version # 验证 nvm 安装
nvm install --lts 
node --version 
npm --version  

# 安装 claude-code
npm install -g @anthropic-ai/claude-code
# 验证
which claude
claude --help

Tools with Claude code

NamePurpose
Read读文件
Edit,MultiEdit编辑现有文件
Write创建文件并写入内容
Bash执行命令
Glob根据模式查找文件/文件夹
Grep搜索内容
Task创建子代理以完成特定任务
WebFetch从URL获取内容并处理
WebSearch搜索网页

基础使用

filepurpose
CLAUDE.md项目级总结,通过/init 生成;和他人共享
CLAUDE.local.md不共享,个人指令
~/claude/CLAUDE.md全局文件,应用所有本地项目的指令

# 开头:进入记忆模式,可以让 Claude 更新 CLAUDE.md @ 提及文件:在记忆模式下也能使用 @ 提及具体文件

ELF文件格式详解

ELF文件格式详解

什么是ELF

ELF(Executable and Linkable Format)是Linux平台的可执行和可链接文件的文件格式标准。ELF文件以文件开头的ELF字符串为标识,这个Magic String用于标记文件类型。

我的书签收藏

加载中...
0%