claude code 安装使用

一.官方网站
https://claude.com/product/claude-code

二.安装claude code
curl -fsSL https://claude.ai/install.sh | bash

三.使用
1.启动
claude

2.启动,执行shell命令时不询问,直接操作(慎用)
claude --dangerously-skip-permissions

3. 不退出claude执行shell命令
!命令

4.回滚
方法一:/rewind
方法二:按两次【ESC】键

5.设置一些习惯
/init 会创建claude.md文件
修改claude.md内容。

/memory 命令能打开已创建的claude.md文件

posted @ 2026-03-22 18:01  铿锵有力自信且坚定  阅读(7)  评论(0)    收藏  举报