Contents
  1. 1. claw
    1. 1.1. 安装
      1. 1.1.1. 一键安装
      2. 1.1.2. 手动安装
  2. 2. 配置
    1. 2.1. channel
      1. 2.1.1. QQBot
  3. 3. 对话
  4. 4. 安全相关
  5. 5. hermes

claw

安装

一键安装

1
2
iwr -useb https://openclaw.ai/install.ps1 | iex
curl -fsSL https://openclaw.ai/install.sh | bash

手动安装

1
2
3
4
5
6
7
8
9
curl -fsSL https://deb.nodesource.com/setup_22.x | sudo -E bash -
sudo apt install -y nodejs
npm config set registry https://registry.npmmirror.com
npm config get registry
npm config set strict-ssl false
npm install -g openclaw@latest
npm config set strict-ssl true

npm uninstall -g @openclaw/cli

配置

https://docs.openclaw.ai/cli/

1
2
3
4
5
6
7
openclaw onboard --install-daemon
# "baseUrl": "http://172.31.64.1:11434/v1"
# ollama list
# qwen3.5:4b
# 手动干预配置,请修改 ~/.openclaw/openclaw.json
openclaw gateway install --port 18789

openclaw config set models.providers.ollama.apiKey “ollama-local”

1
2
3
openclaw models list
openclaw models set <model-or-alias>
# ollama stop lfm2.5-thinking:1.2b

channel

QQBot

1
2
3
openclaw plugins install @sliverp/qqbot@latest
openclaw channels add --channel qqbot --token "1903268287:CLOI3gCg1ISVO6e3"
openclaw gateway restart

对话

1
2
3
4
5
6
7
8
9
10
11
openclaw gateway 
openclaw gateway start
openclaw gateway enable
openclaw gateway stop

# 启动并进入终端对话界面
openclaw tui

openclaw dashboard
openclaw update

安全相关

1
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser

hermes

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash

hermes model # Choose your LLM provider and model
hermes tools # Configure which tools are enabled
hermes setup # Or configure everything at once

hermes # classic CLI
hermes --tui # modern TUI (recommended)

hermes gateway setup # Interactive platform configuration
hermes gateway install
hermes gateway # run in foreground

hermes update
hermes uninstall


hermes setup model Change model/provider
hermes setup terminal Change terminal backend
hermes setup gateway Configure messaging
hermes setup tools Configure tool providers

hermes config View current settings
hermes config edit Open config in your editor
hermes config set <key> <value>
Set a specific value


📁 All your files are in ~/.hermes/:

Settings: /home/manhua/.hermes/config.yaml
API Keys: /home/manhua/.hermes/.env
Data: /home/manhua/.hermes/cron/, sessions/, logs/