openclaw-local-mac-mini
Lets your agent run locally on a Mac mini. This ensures your AI workflows are private and always available.
What it does
This tool helps you set up and run OpenClaw on your Mac mini computer. It ensures the program runs stably and continuously, allowing your AI agents to work without interruptions.
When to use it
- ✓When you want an always-on AI system on your Mac mini.
- ✓To run computationally intensive AI tasks locally.
- ✓When setting up a dedicated server for your AI agents.
Example of what to ask your AI
“Set up OpenClaw to run on my Mac mini.”
Want more? Open the sections below.
How to use
The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.
Skill link
Ready-to-paste message
How it works
The tool guides you through installation steps, like downloading the code, configuring AI access keys, and running the program using Docker. It also optimizes the Mac mini to ensure everything works smoothly.
Installation
Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.
In the terminal (Claude Code, Codex, Cursor), in your project folder:
npx skills add sickn33/agentic-awesome-skills --skill openclaw-local-mac-miniOr download just the file:
curl -L https://raw.githubusercontent.com/sickn33/agentic-awesome-skills/main/skills/openclaw-local-mac-mini/SKILL.md -o SKILL.mdTechnical content (original SKILL.md)
Original text by the author, straight from GitHub.
OpenClaw Local + Mac mini Setup
Use this skill when you want to run OpenClaw on a developer laptop or promote it to a stable Mac mini host. Covers cloning and bootstrapping, Docker Compose configuration, Mac mini hardware optimization, networking, monitoring, and production-grade launchd services.
Prerequisites
- macOS 13 (Ventura) or later on Apple Silicon (M1/M2/M4 Mac mini recommended)
- Docker Desktop for Mac or OrbStack installed
- Git, Node.js (v18+), and a package manager (npm or pnpm)
- API keys for your chosen LLM provider (OpenAI, Anthropic, or local Ollama)
- At least 16 GB RAM (32 GB recommended for local model serving)
Local Setup (Any Dev Machine)
Clone and Bootstrap
# Clone the repository
git clone https://github.com/openclaw/openclaw.git
cd openclaw
# Review the upstream README for current prerequisites
cat README.md
# Copy the example environment file
cp .env.example .env
# Edit .env with your provider keys and configuration
# At minimum, set the model provider and API key
cat > .env << 'ENV'
# LLM Provider Configuration
OPENAI_API_KEY=sk-your-openai-key-here
# Or for Anthropic:
# ANTHROPIC_API_KEY=sk-ant-your-key-here
# Or for local Ollama:
# OLLAMA_BASE_URL=http://localhost:11434
# Application settings
NODE_ENV=development
PORT=3000
HOST=0.0.0.0
LOG_LEVEL=info
# Database (if applicable)
DATABASE_URL=sqlite:./data/openclaw.db
ENV
Install Dependencies and Run
# Install dependencies
npm install
# Or with pnpm:
# pnpm install
# Run database migrations if needed
npm run db:migrate
# Start the development server
npm run dev
# Verify startup
curl -s http://localhost:3000/api/health | jq .
# Expected: {"status":"ok","version":"..."}
Validate the Setup
# Check the API health endpoint
curl -f http://localhost:3000/api/health
# Check the UI loads
curl -s -o /dev/null -w '%{http_code}' http://localhost:3000/
# Expected: 200
# Run built-in tests if available
npm test
Docker Compose Setup
docker-compose.yml
version: "3.8"
services:
openclaw:
build:
context: .
dockerfile: Dockerfile
image: openclaw:latest
container_name: openclaw
restart: unless-stopped
ports:
- "3000:3000"
env_file:
- .env
environment:
- NODE_ENV=production
- HOST=0.0.0.0
- PORT=3000
volumes:
- openclaw-data:/app/data
- ./config:/app/config:ro
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:3000/api/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 15s
deploy:
resources:
limits:
memory: 4G
reservations:
memory: 1G
logging:
driver: json-file
options:
max-size: "50m"
max-file: "5"
# Optional: Redis for caching/queues
redis:
image: redis:7-alpine
container_name: openclaw-redis
restart: unless-stopped
volumes:
- redis-data:/data
command: redis-server --appendonly yes --maxmemory 512mb --maxmemory-policy allkeys-lru
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 10s
timeout: 5s
retries: 3
# Optional: Ollama for local model serving
ollama:
image: ollama/ollama:latest
container_name: openclaw-ollama
restart: unless-stopped
ports:
- "11434:11434"
volumes:
- ollama-models:/root/.ollama
deploy:
resources:
limits:
memory: 16G
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:11434/api/tags"]
interval: 30s
timeout: 10s
retries: 3
volumes:
openclaw-data:
redis-data:
ollama-models:
Running with Docker Compose
# Build and start all services
docker compose up -d --build
# Check service status
docker compose ps
# View logs
docker compose logs -f openclaw
docker compose logs -f --tail=100 ollama
# Pull a model into Ollama (if using local models)
docker exec openclaw-ollama ollama pull llama3:8b
docker exec openclaw-ollama ollama list
# Restart a single service
docker compose restart openclaw
# Stop everything
docker compose down
# Stop and remove volumes (full reset)
docker compose down -v
Mac mini Production Setup
macOS Hardening and Baseline
# Enable automatic security updates
sudo defaults write /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled -bool true
…
FAQ
What is OpenClaw?
OpenClaw is a system that allows you to create and manage AI agents that can run locally on your computer.
Do I need a Mac mini?
A Mac mini with Apple Silicon (M1/M2/M4) is recommended for best performance, but you can start on any Mac with macOS 13 or later.
What are 'AI agents'?
AI agents are programs that can perform tasks autonomously, such as answering questions, writing text, or analyzing data, using artificial intelligence.
Details
Original description by the author
Set up OpenClaw locally and run it reliably on a Mac mini for private, always-on local agent workflows.
Popularity
- GitHub stars
- 48k
- Ranking position
- #4675
- License
- MIT
- Updated
- 10/15/2026
Comments
- …
More skills from this repository
00-andruia-consultant
Helps your agent start or improve AI projects. It analyzes code, suggests tools, and creates action plans in Spanish.
sickn33/agentic-awesome-skills
007
Lets your agent perform security audits and threat modeling. It's useful for protecting projects against attacks and vulnerabilities.
sickn33/agentic-awesome-skills
10-andruia-skill-smith
Helps your agent create or improve AI tools. It defines how tools work, writes documentation, and validates the structure.
sickn33/agentic-awesome-skills
20-andruia-niche-intelligence
Lets your agent create a summary about a specific industry. It's useful for understanding the context, rules, usage patterns, and risks of a project, using reliable sources.
sickn33/agentic-awesome-skills
Similar skills
benchmark-optimization-loop
Has your agent improve something's speed in a measured way. It tests multiple versions and chooses the fastest one that still works correctly.
affaan-m/ECC
change-impact
Helps your agent analyze the impact of code changes before making them. It compares the planned vs. actual results afterward, covering paths, data, tests, and documentation. Useful for risky or system-wide changes.
affaan-m/ECC
click-path-audit
Lets your agent trace all user buttons and interactions to find bugs. It finds issues where functions seem to work alone but fail together. Useful when bugs persist even after debugging.
affaan-m/ECC