---
title: "macOS・Linux・WindowsにOpenClawをインストール · DotsAgent"
description: "公式スクリプト、PowerShellまたはnpmでOpenClawをインストールし、オンボーディングを実行します。openclaw doctorで確認し、stable、beta、devの更新チャンネルを切り替えられます。"
url: https://dotsagent.io/ja/openclaw/install
---

OpenClawガイド · 5 ステップ

# OpenClawのインストール

公式スクリプト、PowerShellインストーラーまたはnpmでopenclaw CLIをインストールし、オンボーディングで設定ファイル、gateway token、バックグラウンドサービスを作成します。

npmでインストールするにはNode.js 24.16+または26.1+が必要です。インストーラースクリプトを使うとNodeもセットアップされます。最低でも1 vCPU、1 GB RAM、500 MBのディスク容量を用意してください。

1. macOS、Linux、WSL2でインストーラーを実行 スクリプトは必要に応じてNode（macOSではNode 26、LinuxではNode 24 LTS）とopenclaw CLIをインストールし、オンボーディングウィザードを起動します。ウィザードを使わずにインストールするには、bashではなくbash -s -- --no-onboardにパイプしてください。 shell`curl -fsSL https://openclaw.ai/install.sh | bash`
2. またはWindowsでPowerShellを使う Windowsネイティブ環境では、PowerShellウィンドウでPowerShellインストーラーを実行します。WindowsネイティブのHubアプリも利用できます。WSL2内では、手順1のシェルスクリプトも使えます。 PowerShell`iwr -useb https://openclaw.ai/install.ps1 | iex`
3. またはnpmでインストール Nodeを自分で管理している場合は、パッケージをグローバルにインストールします。npm 12および11.16+では--allow-scripts=openclawが必要です。npm 11.15以前ではこのフラグを省略してください。続いてonboard --install-daemonを実行すると、ウィザードが起動し、サービスがインストールされます。macOSではLaunchAgent、LinuxとWSL2ではsystemdユーザーサービス、WindowsではScheduled Taskが使われます。 shell`npm install -g openclaw@latest --allow-scripts=openclaw openclaw onboard --install-daemon`
4. インストールを確認 openclaw --versionでインストール済みのリリースを表示し、openclaw doctorでヘルスチェックを実行できます。openclaw gateway statusではgatewayサービスの実行状況を確認できます。バージョン番号はYYYY.M.N形式の日付ベースです。 shell`openclaw --version openclaw doctor openclaw gateway status`
5. 最新の状態を保つ openclaw updateで最新リリースをインストールできます。--channelでstable、extended-stable、beta、devを切り替え、--dry-runで適用せずに更新内容を確認できます。openclaw update statusとopenclaw update repairも利用できます。 shell`openclaw update openclaw update --channel beta openclaw update --dry-run`

オンボーディングでgateway tokenが生成され、gatewayは127.0.0.1:18789で待ち受けます。チャットチャンネルに接続する前に、セキュリティ強化ガイドを確認してください。

## OpenClawのその他のガイド

[VPSでOpenClawを実行](https://dotsagent.io/ja/openclaw/vps)

[DockerでOpenClawを実行](https://dotsagent.io/ja/openclaw/docker)

[Raspberry PiでOpenClawを実行](https://dotsagent.io/ja/openclaw/raspberry-pi)

[モデルをOpenClawに接続する](https://dotsagent.io/ja/openclaw/models)

[OpenClawをTelegramに接続する](https://dotsagent.io/ja/openclaw/telegram)

[OpenClaw gateway を強化する](https://dotsagent.io/ja/openclaw/hardening)

[OpenClaw へのリモートアクセス](https://dotsagent.io/ja/openclaw/remote-access)

## 出典

1. [docs.openclaw.ai](https://docs.openclaw.ai/install)/install
2. [docs.openclaw.ai](https://docs.openclaw.ai/install/updating)/install/updating

AIエージェント開発者向けの独立したリファレンスです。ここに記載されているいずれのベンダーとも提携していません。

© 2026 DotsAgent · 確認日: 2026年10月1日
