Openclaw Installation

Install OpenClaw on Arch Linux

1.Install nodejs npm

pacman -S nodejs npm

2.Change npm source

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.

3.Install OpenClaw

npm install -g openclaw@latest --verbose

4.Start OpenClaw

openclaw onboard --install-daemon

All the commands are run in Arch Linux