Setup Guide

How to Run OpenClaw on Unraid

A beginner friendly guide to setting up OpenClaw on your Unraid server using a Linux VM. No experience required.

12 min read
Mar 20, 2026
Ampere Team

What is OpenClaw and How Does It Work on Unraid

OpenClaw is an AI assistant you can chat with on Telegram, Discord, or WhatsApp. You install it on your own server and it handles tasks and questions for you automatically.

Unraid wipes any software you install directly when it restarts. So you put OpenClaw inside a small Linux virtual machine instead. That keeps your agent running safely across every reboot.

What You Need Before Start

What You NeedDetails
Unraid version6.9 or newer
ProcessorMust support virtualization — Intel VT-x or AMD-V (enabled in BIOS)
RAM for the VM2GB minimum, 4GB is better
Storage for the VMAt least 20GB of free space
VM operating systemUbuntu 22.04 LTS (recommended for beginners)
Node.jsThe OpenClaw installer takes care of this automatically
AI provider API keyYou need one from Anthropic, OpenAI, Google, or similar. New to OpenClaw? See what is OpenClaw.
Network settingSet VM to Bridge mode so it gets its own IP address

Step 1: Make Sure VMs Are Turned On

Log into your Unraid dashboard and go to the top menu. Click Settings, then click VM Manager. Look for the option that says Enable VMs and set it to Yes. Click Apply to save.

If this option is greyed out or not working, you may need to go into your server BIOS first and turn on Intel VT-x (Intel processors) or AMD-V (AMD processors). This setting allows your server to run virtual machines.

Unraid VM Manager — Enable VMs set to Yes

Step 2: Download an Ubuntu ISO

Go to ubuntu.com and download Ubuntu 22.04 LTS. Once downloaded, upload the ISO file to your Unraid server. In the Unraid dashboard, go to the Main tab, find your ISOs share, and upload the file there.

Step 3: Create a New Linux VM

Click the VMs tab in Unraid. Click Add VM and choose Linux. Fill in these settings:

  • ISO: select the Ubuntu file you uploaded
  • RAM: set to 4096 MB (4GB)
  • Disk size: 20GB or more
  • Network: change to Bridge

Click Create, then start the VM. Go through the Ubuntu installation steps. When it is done, restart the VM and log in.

Unraid Create Linux VM — Bridge networking, 4GB RAM

Step 4: Open a Terminal Inside the VM

In the Unraid VMs tab, click on your VM and open the VNC console. This is like a screen and keyboard for your VM. You can also SSH into the VM from your computer if you prefer. To find the VM IP address run:

ip addr show
Unraid VNC console — Ubuntu VM terminal showing IP address

Step 5: Install OpenClaw

Copy and paste this command into the terminal inside your VM and press Enter. It will automatically install everything OpenClaw needs including Node.js. If you are using Ubuntu for the first time, see our OpenClaw Ubuntu setup guide for more detail.

curl -fsSL https://openclaw.ai/install.sh | bash

If you see an error saying curl is not found, run this first and then try again:

sudo apt update && sudo apt install -y curl
OpenClaw install script running in Ubuntu VM terminal

Step 6: Run the Setup Wizard

After installation finishes, run this command to go through the setup. The --install-daemon part at the end makes sure OpenClaw starts automatically every time your VM turns on. Do not remove it.

openclaw onboard --install-daemon

The setup will ask you a few questions:

  • Read and accept the disclaimer to continue
  • Choose your AI provider (for example Anthropic or OpenAI) and paste your API key
  • Press Enter to keep the default gateway port (18789)
  • Choose a messaging app to connect — you can pick Telegram, Discord, or WhatsApp
  • Follow the steps shown on screen to link your messaging account
OpenClaw setup wizard — choosing AI provider, entering API key and picking messaging app

Step 7: Check That Everything is Working

Run this command to confirm OpenClaw is running correctly:

openclaw gateway status

If it shows as running, your AI agent is live. Go to your messaging app and send it a message to test it.

openclaw gateway status showing running in terminal

Step 8: Open the Control Dashboard

You can view and manage OpenClaw from a web dashboard. Run this command inside the VM to open it, or go to the URL below from any browser on your home network:

openclaw dashboard # Or open in your browser: http://your-vm-ip:18789/
OpenClaw dashboard open in browser at http://vm-ip:18789

Common Problems and How to Fix Them

VMs Are Disabled and You Cannot Create One

This happens when either virtualization is turned off in your computer BIOS, or the VM Manager in Unraid is set to disabled. You need both to be turned on before you can create a Linux VM.

Fix

First go into your computer BIOS and look for Intel VT-x or AMD-V and turn it on. Then log into Unraid, go to Settings, click VM Manager, set Enable VMs to Yes, and click Apply.

# After enabling VMs in Unraid settings, # go to the VMs tab — you should now see the Add VM button.

The Install Script Fails Because curl is Missing

A brand new Ubuntu VM may not have curl installed. When you try to run the OpenClaw install script, it will fail straight away if curl is not there.

Fix

Install curl first with the command below. Once it is installed, run the OpenClaw install script again.

sudo apt update && sudo apt install -y curl # Now run the OpenClaw installer curl -fsSL https://openclaw.ai/install.sh | bash

OpenClaw Stops Running After the VM Restarts

If you did not set up the background service during the setup step, OpenClaw will stop as soon as the VM shuts down or restarts. It will not come back on its own.

Fix

Run the setup command again and this time make sure to include the --install-daemon part at the end. This tells OpenClaw to keep running automatically every time the VM starts up.

openclaw onboard --install-daemon # Check that it is running openclaw gateway status

You Cannot Open the Dashboard from Your Other Devices

By default the OpenClaw dashboard only works from inside the VM itself. Your phone, laptop, or other computers on the same network cannot reach it unless the VM has its own network address.

Fix

Make sure your Unraid VM is using Bridge mode for networking. This gives the VM its own IP address on your home network. Find that IP inside the VM and use it to open the dashboard from any device.

# Run this inside the VM to find its IP address ip addr show # Then open this in any browser on your network # http://vm-ip-address:18789/

If you are not sure what is wrong, run openclaw doctor inside the VM. It checks everything and tells you exactly what needs to be fixed.

Frequently Asked Questions

Why do I need a VM? Can I just install OpenClaw directly on Unraid?
Unraid keeps its main system files in RAM and resets them every time it restarts. If you install software directly to the Unraid terminal, it will disappear after a reboot. A Linux VM stores everything on your drive so nothing gets lost when you restart.
Which Linux version should I use for the VM?
Ubuntu 22.04 LTS is the easiest choice for beginners. It is well supported, easy to set up, and works perfectly with the OpenClaw installer. Ubuntu 24.04 LTS also works if you want the latest version.
How much RAM should I give to the OpenClaw VM?
Give it at least 2GB of RAM. If you can spare 4GB that is even better, especially if you plan to chat with your agent a lot or connect multiple messaging apps at the same time.
Will OpenClaw keep running when my Unraid server restarts?
Yes, as long as you used the --install-daemon flag when running the setup command. This creates a service that starts OpenClaw automatically every time the VM boots up.
Can I chat with my OpenClaw agent from my phone or laptop?
Yes. Make sure your VM is set to Bridge networking in Unraid. This gives the VM its own IP address. Then you can open the OpenClaw dashboard from any device by going to http://your-vm-ip:18789/ in a browser.
Can I connect OpenClaw to Telegram or Discord?
Yes. When you run the setup command it will ask you which messaging app you want to connect. You can pick Telegram, Discord, WhatsApp, and others. If you skip this during setup, you can always add it later by running openclaw configure.
Do I need to know Linux to do this?
You need to be comfortable opening a terminal and typing commands. You do not need to be an expert. This guide gives you the exact commands to run at every step, so just follow along and you will be fine.