OpenClaw笔记
·
1、openclaw常用命令行
- 开启网关
openclaw gateway start
- 关闭网关
openclaw gateway stop
- 重启网关
openclaw gateway restart
- 打开控制台(web网页)
openclaw dashboard
备注:当关闭网关再打开时报错
Gateway service not loaded.
Start with: openclaw gateway install
Start with: openclaw gateway
Start with: launchctl bootstrap gui/$UID ~/Library/LaunchAgents/ai.openclaw.gateway.plist
运行命令行
openclaw doctor --fix
然后再启动网关
- 授予本地文件操作权限
openclaw config set tools.profile full
- 重新配置向导
openclaw onboard
2、Python常用命令
- 创建一个python项目
uv init hello
- 使用特定版本运行脚本
uv run --python 3.12 main.py
- 运行mcp
uv run mcp dev mcp_server.py
更多推荐



所有评论(0)