OpenClaw CLI をインストールする
npm install -g openclaw@latest でグローバルにインストールするか、ホームページにある 1 行の curl インストールスクリプトを使用します。
「OpenClaw CLI をインストールする」はCoddyKit上の無料OpenClaw Academyレッスンです。 これはレッスン2/4です。 下記で完全なレッスンを無料で読むことができます。その後、ブラウザ内の組み込みコードエディタと24時間対応のAIチューターでハンズオン演習できます。 これはOpenClaw Academy学習パスの一部であり、ウェブとCoddyKitアプリ全体で進捗が同期されます。 OpenClaw Academyコースには全4レッスンが含まれています。
このレッスンの一部はまだ翻訳されておらず、英語で表示されています。
Time to Install
With your prerequisites ready, installing OpenClaw is one short step. The install puts the openclaw command on your machine so you can run it from anywhere.
The npm Way
The standard method uses npm, which comes bundled with Node. It downloads OpenClaw from the npm registry and sets it up for you.
Install Globally
Run this command to install OpenClaw. The -g flag installs it globally, so the openclaw command works from any folder.
npm install -g openclaw@latestWhat @latest Means
The @latest tag tells npm to grab the newest published release. You always start on the current version instead of an old cached one.
The One-Line Script
Prefer not to use npm directly? The homepage offers a curl install script that does the setup for you in a single line.
curl -fsSL https://openclaw.ai/install.sh | bashReading the curl Flags
In that one-liner, -fsSL makes curl fail quietly on errors and follow redirects, then bash runs the downloaded script. Both methods reach the same place.
npm or curl
Either path works, so pick what fits you. The choice is just preference: npm if you manage Node packages, curl for a quick hands-off setup.
Why Install Once, Run Anywhere
A global install registers a single openclaw command. From then on you type openclaw in any terminal without reinstalling per project.
Confirm It Landed
After installing, check that the command exists. Running openclaw --version prints the installed version and proves the install worked.
openclaw --versionIf the Command Is Missing
If your shell cannot find openclaw, the global npm bin folder may not be on your PATH. Reopening the terminal often picks up the new command.
Installed, Not Configured Yet
Installing only places the tool on disk. The next stage, onboarding, is where you actually wire up the daemon and your channels.
Quick Check
Which command installs OpenClaw globally via npm?
Recap
You can now install OpenClaw two ways: npm install -g openclaw@latest or the curl one-liner. A quick --version check confirms it is ready to onboard. ⚙️
よくある質問
「OpenClaw CLI をインストールする」レッスンは無料ですか?
はい。「OpenClaw CLI をインストールする」の完全なテキストはこのウェブで無料で読めます。インタラクティブに演習し(組み込みコードエディタと24時間対応のAIチューター)、OpenClaw Academyコースの残りをアンロックするには、CoddyKit PROにアップグレードしてください。 OpenClaw Academyコースには全4レッスンが含まれています。
「OpenClaw CLI をインストールする」で何を学びますか?
npm install -g openclaw@latest でグローバルにインストールするか、ホームページにある 1 行の curl インストールスクリプトを使用します。 ブラウザで直接実行するハンズオンコードでOpenClaw Academyを演習し、24時間対応のAIチューターがレッスンを進める中での質問に答えます。
OpenClaw Academyを始めるのに経験は必要ですか?
事前経験は必要ありません。CoddyKitのOpenClaw Academyは初級者から上級者向けに構成されているため、ここから始めるか最初から始めて、自分のペースで進むことができます。 これはレッスン2/4です。
「OpenClaw CLI をインストールする」レッスンにはどのくらい時間がかかりますか?
ほとんどのCoddyKitレッスンは約5~10分かかります。各レッスンはコンパクトでインタラクティブなので、着実に進歩し、ウェブとアプリ全体で正確に前回の場所から再開できます。
このOpenClaw Academyレッスンでコードを書いて実行できますか?
はい。すべてのOpenClaw Academyレッスンに組み込みコードエディタが含まれているため、ブラウザでリアルコードを書いて実行し、即座のAIフィードバックを取得できます。ローカル設定は不要です。
このコースのすべてのレッスン
- 前提条件を確認する
- OpenClaw CLI をインストールする
- オンボーディングウィザードを実行する
- ローカルダッシュボードを開く