1. Get the hardware
Start with a capable mini PC that can comfortably handle Ubuntu, background services, and light automation.
You do not need a server rack or a gaming machine. The goal is a small, reliable box that can stay on, run command-line tools, and be available when you want to talk to your agent.
- Choose a mini PC with modern CPU, 16 GB RAM, and SSD storage. This Amazon mini PC is a good example.
- Make sure it includes the ports you need for setup and daily use.
2. Create the installer
Ubuntu is the operating system. The installer USB is what lets you wipe or prepare the mini PC and put Ubuntu on it.
- Download the Ubuntu Desktop ISO from the official site.
- Flash it to a USB drive using Rufus, balenaEtcher, or similar.
- Verify the USB is bootable before moving on.
3. Install Ubuntu
Keep the first install straightforward. Use the default installer choices unless you already know you need something custom.
- Connect a monitor, keyboard, mouse, and the boot USB.
- Boot into the installer and complete the Ubuntu installation.
- Choose the standard update option during setup if offered.
If the installer hits a black screen
Some mini PCs need a temporary graphics workaround to start the
Ubuntu installer. To access the boot menu, press the boot key right
after powering on the machine. It is often F7 or
DEL, though the exact key depends on the hardware.
- Highlight the Ubuntu boot option in the boot menu.
- Press
eto edit the boot command. -
Find the line with
quiet splashand addnomodesetafter it. - Press
F10orCtrl+Xto boot.
Use this only if needed. After Ubuntu is installed, run system updates and install any recommended graphics drivers so the machine can boot normally.
4. Update the system
After first boot, open a terminal and install core tools:
sudo apt update && sudo apt upgrade -y
sudo apt install -y git curl wget build-essential
This gives you the basic tools needed to download software, compile packages when needed, and work with Git repositories.
5. Install Homebrew and Node.js
Homebrew is a package manager for developer tools on macOS, Linux,
and WSL. On Ubuntu, it installs under
/home/linuxbrew/.linuxbrew, which keeps most tools out
of the system package manager after the initial setup.
Install Homebrew using the current command from brew.sh:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
After installation, follow the terminal instructions Homebrew prints
to add brew to your shell. On Linux, it usually looks
like this:
echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"' >> ~/.profile
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
Then install Node.js:
brew install node
node --version
npm --version
6. Create a ChatGPT / Codex account
Start with a ChatGPT account and Codex access instead of API billing. It is a simpler first path for most people because Codex uses your ChatGPT sign-in and eligible ChatGPT plans, not a separate API-key-only setup.
- Create or sign in to a ChatGPT account at chatgpt.com.
- Review OpenAI's Codex with ChatGPT plan guidance.
- Confirm Codex is available for the account before moving on.
7. Set up Telegram
OpenClaw is easiest to demo when the chat channel is ready before the OpenClaw install begins.
- Install Telegram on your phone or desktop.
- Search for
BotFatherin Telegram. - Create a new bot with
/newbot. - Save the bot token somewhere private for the OpenClaw setup.
- Send one test message to the new bot so it is easy to find later.
8. Install OpenClaw
Follow the current instructions on the OpenClaw website. Keep the first configuration minimal, then add integrations one at a time.
- Install the core app.
- Connect the Telegram bot token you saved earlier.
- Confirm local startup works before adding extra tools.
- Document any custom settings you change.
9. Pair Telegram and send the first message
Once OpenClaw is installed, connect it to the Telegram bot you made earlier and confirm the chat loop works before adding more tools.
- Open the OpenClaw configuration for messaging or Telegram.
- Add the BotFather token you saved earlier.
- Start a conversation with the bot from Telegram.
- Send a short test message, such as
Hello OpenClaw. - Confirm OpenClaw receives the message and replies in Telegram.