Installing OpenClaw can be a fast process if you choose the right path from the start. The official installation flow is designed to take you from the terminal to a working chat in just a few minutes, as long as you are clear on the operating system, model provider, and Gateway configuration.
In this guide, we will cover how to install OpenClaw using the official methods, what happens during onboarding, how to validate that the service is active, and when it makes sense to go straight to a prepared OpenClaw Hosting setup. The goal is not to copy commands without context, but to give you a safe path for labs, testing, or production.
What OpenClaw is and why install it on your own infrastructure
OpenClaw is an open source AI assistant that you can run on your own infrastructure. That makes it attractive for technical teams, founders, and advanced users who want control over the environment where their agent runs, the model provider it uses, and the services connected to it.
The key decision is where to run it. You can install OpenClaw on your local machine for learning and debugging, or deploy it on a VPS if you need the agent to stay continuously available. Teramont’s own OpenClaw hosting proposal presents it as an AI assistant running 24/7 on infrastructure dedicated to the service: https://teramont.net/es/openclaw-hosting.
If OpenClaw needs to respond, keep a Gateway active, or run tasks without depending on your laptop, an always-on server is no longer optional.
Prerequisites before installing OpenClaw
Before running the installer, it is worth preparing three things: operating system, runtime, and AI provider credentials. The getting started documentation indicates that OpenClaw aims to take you from installation to a functional chat in around five minutes, with Gateway and authentication configured: https://documentation.openclaw.ai/start/getting-started.
Runtime and operating system
OpenClaw uses Node. According to the getting started guide, Node 24 is the recommended version, while Node 22.19+ remains supported: https://documentation.openclaw.ai/start/getting-started. The official installer can detect the environment and install Node if needed, which reduces common errors on new systems: https://docs.openclaw.ai/install/installer.
The CLI path is documented for macOS, Linux, native Windows, and WSL2, so you can use it both on a Linux VPS and on a Windows workstation prepared for development: https://docs.openclaw.ai/start/onboarding-overview.
Model provider credentials
During onboarding, you will need to configure the model provider and its authentication. In practice, that means having the API key or equivalent mechanism available before starting the setup assistant. If you do not have it, you can install the CLI, but you will not be able to correctly complete the agent’s functional flow.
Fast official method: install.sh or install.ps1
The recommended path to get started is to use the official installer. On macOS and Linux, you use install.sh; on Windows, you use PowerShell with install.ps1. The installer documentation explains that it detects the operating system, prepares dependencies when appropriate, and launches the onboarding flow: https://docs.openclaw.ai/install/installer.
On a Linux VPS, the general sequence is to download the installer from the official guide, give it execution permissions, and run it:










