We installed OpenClaw on a Raspberry Pi, and the author used an 8GB Raspberry Pi 4B with the official operating system installed. Similar installations were made on other Linux systems. At the same time, it should be noted that the author’s local area network has dedicated routers for proxies. If there are network problems during updates or downloads, the domestic software source needs to be replaced by oneself.
First, run sudo apt update and sudo apt upgrade to update the software of Raspberry Pi to the latest version.
Then refer to the official installation method of OpenClaw. Run the following command.
curl -fsSL https://openclaw.ai/install.sh | bash


During the installation process, a setup guide will appear. Follow the steps below to initialize.
Firstly, agree to the security license statement.

Then we first go to OpenRouter to create an account and API. Note that as we need to purchase Xiaomi’s free models before April 2nd for free, we must use the OpenRouter API to access Xiaomi’s official models!!!!!
The author initially created an API on the official website of Xiaomi MIMO, which also offered recharge discounts, but ultimately ran out.
Openrouter URL https://openrouter.ai/
Xiaomi’s official free explanation. Currently, mimo-v2 pro and omni are supported for free use.

Create a model API in Openrouter.

Then continue the installation process, select the corresponding model and enter the API.
Choose provider as openrouter and choose Xiaomi’s two free models!!!! The following image is incorrect. The author selected the wrong one during the first installation. Just enter the API you have created and press enter.


Then we create a Telegram robot to receive messages from OpenClaw, using either WeChat or DingTalk.
The following is the process of creating a robot. After preparing the robot API, enter the configuration.

Then continue to choose the default search engine, here we will use the default free one.

Then you can directly install the skill or skip it.



Then it was installed. But here you can see that there are still some issues with the configuration. You need to go to the robot created by Telegram and follow the prompts to send the corresponding message to complete the configuration.

At present, the openclaw command cannot be found in the environment variables after installation.

Follow the official steps to investigate

Follow the prompts given by Gemeni to solve it.


Now you can directly run the openclaw command and run the openclaw doctor to diagnose any issues.

If there are no problems, you can run openclaw tui to call the model for dialogue and use skills. At the same time, conversations can also be conducted on Telegram’s robots.

If there are any configurations that need to be modified after installation, you can run this to reconfigure them.
openclaw onboard --install-daemon

Reference link
https://docs.openclaw.ai/zh-CN/install
https://docs.openclaw.ai/zh-CN/providers/xiaomi
Published on March 29, 2026.
