Openclaw Installation
pacman -S nodejs npm
For faster speed to download OpenClaw, changing the source of npm is necessary.
2.1 A tool for search sources
npm install -g nrm
2.2 List the sources
nrm ls
2.3 This is output sources
npm ---------- https://registry.npmjs.org/
yarn --------- https://registry.yarnpkg.com/
* tencent ------ https://mirrors.tencent.com/npm/
cnpm --------- https://r.cnpmjs.org/
taobao ------- https://registry.npmmirror.com/
npmMirror ---- https://skimdb.npmjs.com/registry/
huawei ------- https://repo.huaweicloud.com/repository/npm/
You can skip the 2.1, 2.2, and 2.3, because these steps is to find available source. You can use what I recommend below
2.4 Set source
npm config set registry https://mirrors.tencent.com/npm/
I recommend to use the Tencent’s source, because I use the Tencent’s server.
npm install -g openclaw@latest --verbose
openclaw onboard --install-daemon