OpenClawのインストール方法

最も迅速かつ安全なセットアップのために、公式インストーラーを使用し、オンボーディングウィザードを完了してください。

簡単な回答

Confirm system requirements (Node.js 22+, macOS or Linux or Windows via WSL2), run the official install script, then complete openclaw onboard to connect channels and models.

ステップ1:まず要件を確認する

OpenClawは最新のNode.js機能に依存しているため、Node.js 22以降が必要です。Windowsでは、サポートされるパスはWSL2です。古いNode.jsバージョンへのインストールは、失敗の最も一般的な原因です。

ステップ2:公式インストールスクリプトを使用する

推奨される方法では、CLIをインストールし、ランタイムを準備します。

curl -fsSL https://openclaw.bot/install.sh | bash
openclaw onboard --install-daemon

ステップ3:オンボーディングを完了する

ウィザードでは、メッセージングチャネルのペアリング、モデルプロバイダーの選択、スキルの有効化を行います。ここで初期権限を設定し、OpenClawが何にアクセスできるかを確認します。

インストール後の便利なコマンド

Use openclaw doctor to validate dependencies, openclaw status or openclaw health to check the gateway, and openclaw update to stay current.

本番環境での使用前にインストールを検証する

オンボーディング後、リスクの低いスキル(一時フォルダへのファイルの作成やローカルテキストファイルの要約など)を使用する小さなテストタスクを実行します。これにより、チャネル、モデル、スキルが正しく接続されていることを確認します。サーバーにデプロイする場合は、必要なポートのみが開いていること、および管理者ペアリングが強制されていることを確認してください。

一般的なインストール時の注意点

Most failures come from an outdated Node version, missing build tools, or running the script under the wrong user account. Another frequent issue is partial installs caused by network errors during package download. If the CLI behaves inconsistently, re-run the install script and check logs with openclaw doctor .

セキュリティに関する注意

管理者エンドポイントをパブリックインターネットに公開しないでください。また、信頼できないスキルをインストールしないでください。サーバーでOpenClawを実行する場合は、ポートをロックダウンし、最小権限のアクセスを使用してください。

公式リファレンス

For exact instructions, see the official install and wizard pages: Install and Onboard .