openclaw学习笔记2026

一、安装

1、先到nodejs.net官网安装node24以上版本。

2、安装git

3、执行一键安装命令(ubuntu24):

curl -fsSL https://openclaw.ai/install.sh | bash

二、配置

1、安装并配置clawhub:

npm install -g clawhub@latest

clawhub login –token your-key

2、安装并启用Self-Improving Agent:

Before installing anything, inspect the ClawHub skill metadata and setup requirements.
If the skill asks you to install a third-party package or CLI, verify its source, maintainer, and package contents before running the install command.
Install the skill “Self-Improving Agent” (pskoett/self-improving-agent) from ClawHub only after those checks pass.
Skill page: https://clawhub.ai/pskoett/self-improving-agent
Keep the work scoped to this skill only.
After install, help me finish setup from verified skill metadata.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

3、设置openclaw局域网访问:
openclaw config set gateway.bind lan
openclaw config set gateway.controlUi.allowInsecureAuth true
openclaw config set gateway.controlUi.dangerouslyDisableDeviceAuth true
openclaw config set ‘gateway.controlUi.allowedOrigins’ ‘[“http://192.168.1.136:18789”]’

三、使用