This guide details the two mainstream installation methods, the initialization process, and core operational commands for OpenClaw. Whether you are a beginner looking for a one-click setup or a developer with Node.js experience, you can kickstart your highly efficient AI automation journey with just a few commands.
For most users, a single command is enough. You do not need to prepare Node.js in advance because the installer handles the environment check for you.
If you already work inside a Node.js environment, you can install OpenClaw globally through npm or pnpm instead.
In v3.22+, Telegram setup, allowFrom whitelisting, and the basic add-on flow now live inside one onboarding wizard.
From dashboard and logs to skills and updates, a short CLI list is enough for most day-to-day operations.
This is the simplest method and the top choice for most users. You do not need to prepare any runtime environment in advance; the script will automatically detect and install Node.js for you. If you want to automate the execution, you can append a flag to skip the onboarding wizard.
Downloads the CLI, completes the global installation, and launches the configuration wizard.
curl -fsSL https://openclaw.ai/install.sh | bashAutomatically detects the Node environment and installs the CLI. The example parameter below skips the onboarding wizard. On Windows, it is best to open your terminal in Administrator mode to avoid permission issues later on.
& ([scriptblock]::Create((iwr -useb https://openclaw.ai/install.ps1))) -NoOnboardIf you prefer not to use the one-click script and want to go the package manager route directly, please ensure your system meets the baseline requirements.
node --version # Should display v22.x.x or higher
npm --version # Should display 10.x.x or higherIf you are familiar with frontend development environments and already have Node installed, you can choose any of the following methods to install OpenClaw globally.
The simplest and most direct option for most developers.
npm install -g openclaw@latestIf pnpm is already part of your workflow, install it globally first and then use it to install OpenClaw.
npm install -g pnpm
pnpm add -g openclaw@latestRun the following command. If it returns the version number, the installation was successful.
openclaw --versionOnce the core program is installed, you need to configure your AI model, communication channels, and security settings. The latest v3.22+ release folds Telegram setup and the security whitelist directly into the unified wizard, so you no longer need separate channel-add commands.
Execute the following command in your terminal to launch the interactive configuration hub:
openclaw onboard --install-daemonThe new version significantly strengthens the safety model. As soon as you run the command, you will see a full-screen Security warning.
Choose QuickStart. Then select your preferred model provider from the list and paste the corresponding API Key. If you use a custom gateway or a special subscription, scroll to the bottom, choose Skip for now, and configure it later through the CLI.
? Select setup mode:
> QuickStart
Custom
? Select AI model provider:
> MiniMax
Kimi
Skip for nowThe latest wizard includes Telegram binding and allowFrom security setup directly inside the same flow.
Search for @BotFather in Telegram and send the /newbot command to create a new bot.
In the Select channel list, choose Telegram (Bot API) and press Enter. When asked how to provide the token, select Enter Telegram bot token, then paste your Bot Token.
To prevent others from abusing your bot and burning your API quota, the system requires you to bind a single allowed user.
After the whitelist is configured, the wizard will ask about a few final advanced options.
If you choose Do this later, you can launch the dashboard any time afterward from the terminal:
openclaw dashboardSome users run into a telegram webhook cleanup warning near the very end of the flow. This usually points to a temporary network issue or webhook cleanup failure, not a completely broken installation.
Now it is time to verify the setup. If everything is configured correctly, your AI should respond right away.
You can also bypass chat apps entirely and interact with the agent directly in your current terminal:
openclaw agent --message "Hello, please introduce yourself." --thinking highThese are the CLI commands you will use most often. Once you know this small set, daily operation is straightforward.
openclaw dashboard # Launch and open the Web Dashboard
openclaw status # Check running status
openclaw logs # View real-time logs
openclaw doctor # Diagnose and fix environment or startup issues
openclaw stop # Stop the background serviceopenclaw agent --message "Hello" --thinking high # Test chat with the agent
openclaw agents list # View the list of agents
openclaw agents add <agent-name> # Add a new agentopenclaw skills list # View installed skills
npx clawhub@latest install <skill-name> # Install a new skill from ClawHub
openclaw update # Update OpenClaw to the latest versionExplore More Cases
Give your AI assistant a soul by configuring its personality, context, and operational rules.
Use Gmail API and OAuth to let Openclaw read emails, prioritize them, and draft replies.
Use Bird Skill with your browser session to turn Openclaw X into one workflow for posting, replying, monitoring mentions, reading threads, and AI-driven X operations.
Connect your GPT, Gemini, and Claude plans to Openclaw so Openclaw Codex, Openclaw Gemini, and Openclaw Claude work without extra API token billing.
Learn how to turn repeated work into reusable skills so AI can execute with stable steps, rules, and guardrails.
Learn the two Openclaw Browser starting routes: Playwright MCP and browser-use, and how each one should be set up.
See how OpenClaw searched inventory, contacted dealerships, and negotiated across browser, email, and messaging channels to save $4,200.
See how Openclaw can write code, open PRs, run code reviews, triage issues, and generate changelogs — handing every repetitive GitHub task to AI autonomously.
See how Openclaw searches job boards across the web, tailors resumes and cover letters, sends bulk personalized applications, and triages inbox replies — automating the most repetitive parts of job hunting.
See how Openclaw searches listings across platforms, compares prices side by side, sends bulk inquiry messages, and negotiates rent with landlords — automating the most tedious parts of apartment hunting.
See how Openclaw securely connects to cloud servers, analyzes error logs, updates config, and recovers failed deploys to keep production healthy around the clock.
See how Openclaw coordinates health data, smart home devices, meal planning, and daily schedules to run your personal systems as one workflow.