$cd ..
$cat./posts/n8n-local-setup.md
constmetadata={
date: "January 4, 2026",
category: "Blog",
tags:["Claude","Claude-Code","Automation"]
}
Self-Hosting n8n on macOS with Cloudflare Tunnel
A step-by-step guide to self-hosting n8n on macOS and exposing it to the internet via Cloudflare Tunnel — no public IP or port forwarding required. Covers installation, LaunchAgent auto-start, tunnel configuration, DNS routing, security hardening, and database backups.