DEV Community

Cover image for Check out the website I built: http://localhost:8080 !
Dimple
Dimple

Posted on

Check out the website I built: http://localhost:8080 !

"It works on my machine." 😎

Production: 💀

Turns out, your biggest dependency isn't React, Node.js, or Docker...

It's your Operating System.

🪟 Windows vs 🐧 Linux vs 🍎 macOS

Which one should developers actually use? And does your OS matter when building AI agents and running LLMs?

Let's settle it. 👇

🪟 Windows

Windows is that friend who owns every gaming console, knows every keyboard shortcut, and somehow still has 47 background processes running.

Pros

  • Excellent for gaming 🎮
  • Great hardware compatibility
  • Visual Studio is first-class
  • Easy setup for beginners
  • WSL2 lets you run Linux almost seamlessly

Cons

  • Updates always seem to arrive at the worst possible moment.
  • Some developer tools still assume you're on Linux.
  • Docker and file-system performance can occasionally be slower than native Linux workflows.

Best for

  • Students
  • .NET developers
  • Gamers
  • General productivity
  • AI development using WSL2

🐧 Linux

Linux is the engineer who drinks coffee without sugar and insists the terminal is all you need.

Everything is a file.

Everything can be automated.

Everything can also break because you forgot a semicolon in a shell script.

Pros

  • Fast
  • Lightweight
  • Stable
  • Excellent package management
  • Native environment for servers
  • Perfect for Docker, Kubernetes, DevOps, and backend work

Cons

  • Some commercial software isn't available.
  • Hardware support can occasionally require extra effort.
  • Gaming has improved a lot but still isn't Windows-level for every title.

Best for

  • Backend engineers
  • DevOps
  • Cloud
  • AI infrastructure
  • Open source contributors
  • Production servers

🍎 macOS

macOS is Linux's stylish cousin who shows up carrying a $2,000 laptop and somehow compiles everything faster than expected.

Underneath the polished interface is a Unix-based operating system.

You get a friendly UI and a powerful terminal.

Pros

  • Excellent developer experience
  • Unix environment
  • Great battery life
  • Stable
  • Fantastic for mobile development
  • Apple Silicon performance is impressive

Cons

  • Expensive
  • Limited hardware customization
  • Gaming isn't its strongest area

Best for

  • Full-stack developers
  • iOS developers
  • AI engineers using local models
  • Startup founders
  • Creative professionals

🤖 Which OS is best for AI?

This is where people often start unnecessary arguments.

The truth is...

The model doesn't really care.

Your tooling does.


Running ChatGPT?

Works everywhere.

Windows ✅

Linux ✅

macOS ✅


Running local LLMs?

Tools like Ollama, LM Studio, llama.cpp, and vLLM all support multiple operating systems.

The differences usually come down to:

  • GPU support
  • Drivers
  • Performance
  • Ease of setup

Running AI agents?

Whether you're building with MCP, LangGraph, AutoGen, OpenAI SDKs, or other frameworks, the operating system is rarely the deciding factor.

The important parts are:

  • Python
  • Node.js
  • Docker
  • APIs
  • Memory
  • Tool integrations

These all work across modern operating systems.


So does the OS affect LLM agents?

Not much.

Your agent is basically doing things like:

User
   ↓
LLM
   ↓
Reason
   ↓
Call Tool
   ↓
Read File
   ↓
Search Database
   ↓
Return Answer
Enter fullscreen mode Exit fullscreen mode

The operating system simply provides the environment for those tools.


Where Linux wins

Production AI systems often run on Linux because it offers:

  • Better Docker support
  • Better GPU drivers (especially NVIDIA)
  • Lower overhead
  • Easier automation
  • Strong cloud ecosystem

That's why you'll find Linux powering many AI servers.


Where Windows wins

If you're just starting:

  • VS Code
  • WSL2
  • Docker Desktop
  • Ollama
  • Python

...you can build almost every AI project comfortably.


Where macOS wins

Apple Silicon has made local AI surprisingly pleasant.

For developers using M-series Macs:

  • Great battery life
  • Quiet operation
  • Strong CPU/GPU efficiency
  • Excellent Unix tooling

It's become a favorite for many AI developers who prefer local workflows.


My (slightly biased) ranking

🎮 Gaming → Windows

☁️ Servers → Linux

📱 Apple development → macOS

🤖 AI Research → Linux

🚀 AI Startups → macOS or Linux

👨‍💻 Learning Programming → Any of them


The funny part...

Developers spend weeks debating:

"Which operating system is the best?"

Meanwhile the AI agent is quietly thinking:

"I just need Python installed."


The best operating system isn't the one that wins internet arguments.

It's the one that helps you ship projects consistently.

Because users never ask:

"Was this built on Linux?"

They ask:

"Does it work?"

THANK YOU!!!

Top comments (0)