# MacOS vs Linux vs Windows: Best OS for programming with AI agents | Peter Steinberger

Source: https://www.youtube.com/watch?v=4wjWhwBOSZk
Recap page: https://rapidrecap.app/video/4wjWhwBOSZk
Generated: 2026-02-15T17:32:50.776+00:00

---
## Quick Overview

The discussion between Lex Fridman and Peter Steinberger concludes that while Apple's ecosystem is generally well-supported, the speaker personally prefers Linux for programming due to its superior flexibility and lack of artificial limitations, especially when dealing with AI agents, despite acknowledging the aesthetic appeal and high quality of Apple hardware like the Mac Mini.

**Key Points:**
- The speaker (Peter Steinberger) prefers Linux over macOS and Windows for programming, especially when using AI agents, due to its greater flexibility and lack of artificial limitations imposed by Apple.
- Steinberger notes that for many years, his workflow involved Linux, Windows, and WSL2, but he has mostly settled on Linux for his current work.
- He mentions that Apple's development environment, particularly with Swift/SwiftUI, is improving but still lacks the open nature of Linux, leading to frustrations like the inability to easily display images from the web in a simulator.
- The speaker highlights the concept of 'nodes' in Linux that allow for complex setups, which he finds superior to the more restrictive environment of Apple products.
- He points out that Apple users often buy new hardware (like the Mac Mini) even when older hardware might suffice, contrasting this with his preference for using older hardware as a server.
- Steinberger built a specific tool called 'Trimmy' for GitHub that helps manage multi-line text selection, demonstrating a preference for highly customized, powerful tooling.
- He concludes that while Apple products are aesthetically pleasing, the developer experience on Linux offers more control and less enforced friction.

![Screenshot at 03:08: Peter Steinberger discusses his preference for Electron apps and the comparison between operating systems, touching upon the limitations imposed by Apple's closed ecosystem.](https://ss.rapidrecap.app/screens/4wjWhwBOSZk/00-03-08.jpg)

**Context:** The video features an interview on the Lex Fridman Podcast between host Lex Fridman and guest Peter Steinberger, a software developer known for his work on apps like Cronios and his preference for open-source systems. The core discussion revolves around comparing the developer experience, flexibility, and limitations of the three major operating systems—macOS, Linux, and Windows—specifically in the context of modern programming, particularly with the rise of AI agents and cross-platform development.

## Detailed Analysis

Peter Steinberger articulates a strong preference for Linux as his primary operating system for programming, contrasting it sharply with macOS and Windows. He recounts using a mix of Linux, Windows, and WSL2 for years but gravitating towards Linux due to its inherent flexibility and lack of artificial constraints. While acknowledging that Apple has improved its development tools (like Swift/SwiftUI), he finds Apple's ecosystem too restrictive, citing examples like the difficulty in displaying web images in a simulator without extra effort. He mentions the concept of 'nodes' in Linux development, which allows for powerful, custom setups that he values over the more polished but closed nature of Apple hardware, even joking that Apple users often buy new hardware when older Macs could still function as servers. He also mentions building tools like 'Trimmy' to solve specific workflow issues, which he feels is easier to achieve in the Linux environment. The conversation touches on the rise of AI agents, noting that while Apple's ecosystem is generally good, the developer experience still favors the openness of Linux, even if Windows with WSL2 is a strong contender.

### OS Preference for Programming

- Lex Fridman asks about the best OS for programming with AI agents
- Steinberger strongly favors Linux for its flexibility and openness over macOS and Windows

### Apple Ecosystem Critique

- Steinberger notes that while Apple hardware is beautiful (citing the Mac Mini), the ecosystem imposes artificial limitations that hinder development workflows, such as issues displaying web images in simulators.

### Development Workflow

- The speaker built tools like 'Trimmy' to manage multi-line text selection, showcasing a preference for deep customization achievable in Linux.

### AI Agent Development Context

- The discussion frames the OS choice around the needs of modern programming, where Linux's power and flexibility are deemed superior for complex tasks involving AI.

### Contrast with Apple's Approach

- Steinberger observes that Apple often encourages hardware upgrades ('The Clawfather' meme illustrates this) even when older machines remain capable, contrasting with his approach of reusing old hardware as servers.

![Screenshot at 00:02: Lex Fridman Podcast branding with an image of Earth from space, setting the stage for the discussion.](https://ss.rapidrecap.app/screens/4wjWhwBOSZk/00-00-02.jpg)
![Screenshot at 03:08: A slide defining Electron Apps appears, outlining that Electron is a cross-platform framework using web technologies \(HTML, CSS, JavaScript\) bundled with Chromium and Node.js.](https://ss.rapidrecap.app/screens/4wjWhwBOSZk/00-03-08.jpg)
![Screenshot at 01:43: A visual representation of the white plastic MacBook featuring the OS X 'Snow Leopard' or similar wallpaper, used as a reference point for older hardware.](https://ss.rapidrecap.app/screens/4wjWhwBOSZk/00-01-43.jpg)
![Screenshot at 06:19: A meme is displayed showing a lobster character dressed like The Godfather holding an Apple Mac Mini, captioned 'The Clawfather,' humorously illustrating the perceived pressure to constantly upgrade Apple hardware.](https://ss.rapidrecap.app/screens/4wjWhwBOSZk/00-06-19.jpg)
![Screenshot at 01:36: Lex Fridman and Peter Steinberger engaged in discussion across the table, with Lex looking intently at Peter.](https://ss.rapidrecap.app/screens/4wjWhwBOSZk/00-01-36.jpg)
