### Introduction
The Mac Mini is an incredible machine for running AI. With the Apple Silicon (M1/M2/M4)
chips, it runs local models cool and quiet. But what if your Mac could do more than just
run AI? What if it could be an AI that helps you work?
Enter OpenClaw. It’s an open-source framework that lets you run autonomous AI agents right
on your desktop. In this guide, I’ll show you exactly how to set it up on your Mac Mini in
under 10 minutes.
### Prerequisites
Before we start, you’ll need:
1. A Mac Mini (M1 or newer recommended)
2. Node.js installed (version 20+).
3. A terminal app (I recommend iTerm2 or the default Terminal).
### Step 1: Install Node.js
If you don’t have Node.js, the easiest way is via Homebrew. Open your Terminal and run:
“`bash
brew install node
“`
Verify it’s installed by typing node -v. You should see something like v22.x.x.
### Step 2: Install OpenClaw
Now for the magic. We’ll install OpenClaw globally using npm:
“`bash
npm install -g openclaw
“`
Once that finishes, verify it works:
“`bash
openclaw –version
“`
### Step 3: Start the Gateway
OpenClaw needs a “brain” to run. We call this the Gateway. In your terminal, run:
“`bash
openclaw gateway
“`
You’ll see a dashboard pop up in your terminal. This is your agent waking up! It will ask
for an API key (like Anthropic or OpenAI) to power its thoughts. Enter your key when
prompted.
### Step 4: Connect Your Browser
This is the coolest part. You can let the agent control your web browser to automate tasks.
1. Install the OpenClaw Extension for Chrome.
2. Click the extension icon in your toolbar.
3. Click “Attach Tab” to connect it to your local agent.
Now, your AI can see what you see and help you navigate the web!
### Why Run This on a Mac Mini?
The Mac Mini is the perfect host for an always-on AI agent. It uses minimal power, has
plenty of RAM for local models (if you use Ollama), and sits quietly on your desk while
your agent works in the background.
────────────────────────────