Dave Stanton PhD

Building Everything on a Mac Mini: Why Constraints Beat Hardware

2026-02-07

A point-in-time snapshot of my local development setup, the trade-offs I’ve been weighing, and why I’m not buying a Mac Studio.

TL;DR — The evolution of my dev setup in four stages:

  • Started with Cursor on an existing codebase. AI-assisted development on familiar code, learning what’s possible.
  • Bought a Mac Mini and used Claude Code to build new projects from scratch. A dedicated machine meant I could experiment freely without risking my personal or work laptop.
  • Set up SSH tunneling to develop from my phone. Ideas don’t wait for a desk. Now I can go from thought to running code from anywhere.
  • Added local OpenTelemetry and the Grafana stack for short feedback loops. Structured telemetry keeps Claude productive — traces, logs, and metrics are the feedback mechanism that makes AI-assisted development reliable.

I’m writing this at an inflection point. My development environment is about to change significantly, and I want to capture the thinking before I know how it turns out. In a few months, I’ll write the follow-up — what actually happened, what I got right, and what surprised me.

But first, how I got here.

It Started with Cursor and a Codebase

Like a lot of engineers, my entry point into AI-assisted development was working with an existing codebase. I’d been using Cursor IDE to experiment — vibe coding, iterating on features, seeing how far I could push the collaboration between me and an LLM on real code.

It worked well enough that I wanted to go further. I started using Claude Code on the same codebase, but what I really wanted was to start from scratch. Not to build something specific, but to learn. I wanted to explore languages and concepts I didn’t fully understand — Rust, for example — and I wanted to do it in a way where the AI could move fast without me worrying about the consequences.

That last part is what changed everything.

A Risk I Knew Too Well

When you give an AI agent access to your terminal, it has access to your filesystem and your operating system. This wasn’t a theoretical concern for me — I’d been bitten before.

Not by the dramatic rm -rf / stories you hear about (you can’t actually remove your root without doing weird chmod gymnastics first). The real damage is subtler and more annoying. In the early days of working with Django and Ruby on Rails, I’d corrupted Ruby version managers, broken gems that took hours to untangle, and misconfigured environments in ways that left my machine in a state where nothing worked quite right until I did a clean reinstall. Anyone who’s lived through a broken rbenv or a virtualenv that somehow got linked to a system Python knows the feeling.

I knew that giving Claude Code free rein to install packages, modify configs, and run build scripts would eventually lead to one of those moments. Not malice — just the inevitable consequence of rapid experimentation on a machine you also depend on for other things. I didn’t want to feel that pain again unnecessarily, especially not on my work laptop.

So I bought a Mac Mini. The idea was simple: create a dedicated projects machine. A clean environment where Claude Code could experiment freely, and if something went sideways, nothing important was at stake. I set up a KVM switch in my office so I could flip between my main machine and the Mini, and I started building.

From KVM to SSH to My Phone

The KVM setup worked fine at first. But as the number of projects grew, switching back and forth became friction. More importantly, I was increasingly tied to my desk. The more ideas I had — on walks, on flights, waiting in line — the more I wanted to be able to act on them immediately.

The evolution happened in stages:

First, I started using the Claude app on my phone to talk through ideas and generate spec files. I’d think through an architecture, have Claude draft a specification, and then wait until I was back at my desk to load it onto the dev machine. This worked, but the latency between idea and execution was frustrating.

Then I thought: why not send the spec file straight to the machine? That’s how I set up SSH. I configured the Mac Mini for remote access, set up tmux for persistent sessions, and suddenly I could SSH in from my phone. I’d generate a spec in the Claude app, then open a terminal on my phone and feed it directly to Claude Code on the Mini.

That workflow — talk to Claude on my phone, SSH into the Mac Mini, execute — became my primary development loop. I build things from my phone now. From my couch, from airport lounges, from the left seat of my airplane. The Mac Mini sits in my office, always on, always ready.

What’s Running Today

My Mac Mini is a modest machine. It runs the development versions of several projects, each exposed through ngrok tunnels so I can access them from my phone or share them with others:

  • Tourinator — a B2B SaaS app for real estate agents, built with Django
  • SmokeHarvest — automated end-to-end test generation tooling
  • Various experiments and prototypes that come and go

For observability, I run the full Grafana LGTM stack (Loki, Grafana, Tempo, Mimir) as standalone Docker containers, with Alloy collecting telemetry from everything. All my projects are instrumented with OpenTelemetry, so I can see traces, logs, and metrics in Grafana for any request flowing through any service.

Running a full observability stack on a small dev machine might seem like overkill, but there are two reasons it’s there.

First, I use a proprietary observability platform at work. I wanted to learn the open-source Grafana stack deeply — not from tutorials, but by running it against real applications I’m actively building. The best way to learn a tool is to depend on it.

Second, and more importantly, observability is how I keep Claude Code productive. One of the things I learned early in AI-assisted development is that the single best way to prevent Claude from going off the rails is to give it access to structured feedback. From my very first projects, I had Claude tailing standard output while servers were running, reviewing logs after each iteration loop, and using error output to self-correct. That feedback loop — write code, run it, read the logs, fix what’s broken — is what turns Claude from a code generator into something closer to a developer.

Local observability takes that same feedback loop and makes it richer. Instead of just stdout and log files, Claude can query Grafana for traces that show exactly where a request failed, metrics that reveal performance regressions, and structured logs that provide context across service boundaries. The LGTM stack isn’t overhead — it’s the feedback mechanism that makes AI-assisted development work reliably.

For each project, the development model is straightforward: the app runs “bare metal” in a Python virtual environment for fast iteration, and when something stabilizes, I containerize it for staging. This gives me the speed of local development with a path toward production-like environments when I need them.

The Inflection Point

I’ve been building an observability platform called Watchtower — a Kubernetes-based deployment of the LGTM stack designed to be my universal telemetry hub. It started as a work project for learning Kubernetes, but I realized it could replace the standalone Docker containers on my Mac Mini too. Instead of running Grafana, Loki, Tempo, and Mimir as individual containers, I could run them inside a lightweight k3s cluster as a single managed deployment.

This raised a question I’ve been sitting with: do I need a bigger machine?

A Mac Studio with 64GB of RAM would give me room to run Kubernetes, the full LGTM stack, multiple experimental apps, maybe even a local LLM for testing. It would remove the constraint of thinking about resource allocation. I could just run everything.

Why I’m Keeping the Mac Mini

I decided against the upgrade, and the reasoning surprised me.

The resource argument doesn’t hold up. The LGTM stack consumes roughly the same resources whether it’s in Docker containers or Kubernetes pods — the workloads are identical. Kubernetes adds maybe 1-1.5GB of overhead for the control plane. On a Mac Mini with 16GB+, that’s manageable. I’m not hitting memory walls today, so buying headroom I don’t need is solving a problem I don’t have.

But the real argument is about constraints.

A Mac Studio with 64GB invites me to run everything simultaneously. k3s with the full observability stack, five experimental apps, Ollama for local inference, a staging environment for each project. And suddenly I’m maintaining infrastructure instead of building things. I’m an SRE by trade — I know how this goes. You build the platform, then you spend all your time operating the platform.

The Mac Mini forces prioritization. “Is this experiment worth the resources?” is a healthy question. It means I tear down things I’m not actively using. It means I think about what to deploy to Heroku when something gets serious instead of just letting it sprawl locally. It keeps the Mac Mini as a workbench, not a data center.

And there’s a deployment model that makes machine size irrelevant for anything that gets real traction. The progression is: virtual environment on the Mac Mini for fast prototyping → containerize if it’s worth pursuing → deploy to Heroku with a shared database for people to try → AWS if it becomes something substantial. By the time a project needs real resources, it’s already off the Mac Mini.

The Plan Moving Forward

Here’s what I’m actually doing:

Consolidating my observability stack into Kubernetes. Instead of running Grafana, Loki, Tempo, and Mimir as standalone Docker containers, I’m moving them into a lightweight k3s cluster managed by Helm charts. My existing projects will point at the same localhost ports, so the migration should be mostly transparent — but the stack becomes easier to manage, tear down, and redeploy as a single unit.

Keeping the dev → production model simple. Virtual environment for development, Heroku for anything that needs to be accessible, AWS for anything that needs to scale. No local staging environment — it adds complexity without enough value for solo development.

Eventually deploying Watchtower to AWS EKS. Once the platform is stable locally, I’ll deploy it to AWS with a public endpoint. My work laptop will ship telemetry there instead of running its own observability stack. But that’s a future phase.

The Story That Matters

I think there’s something worth saying about what you can actually build on minimal infrastructure. The LinkedIn feed is full of people building “AI clusters” and showing off rack-mounted GPU servers. That’s fine for their use cases, but it has nothing to do with most engineering work.

I’m building multiple SaaS products, running a full observability platform, learning Kubernetes, and doing all of it from my phone through an SSH tunnel to a $600 Mac Mini. The constraint isn’t limiting me — it’s focusing me. Every project that outgrows the Mini gets deployed somewhere appropriate. The Mini stays lean, stays fast, and stays fun.

Constraints breed creativity. A bigger machine would just breed more infrastructure to manage.


I’ll revisit this in a few months with a follow-up: what actually happened after the migration, how the resource usage played out, and whether I was right to skip the Mac Studio. Stay tuned.