johnzfitch/claude-cowork-linux

Run Claude Desktop’s Cowork mode natively on Linux — no macOS or VM required

What it solves

Claude Cowork is a feature that allows the Claude Desktop app to interact directly with your local files. By default, this feature is only available on macOS, where it runs inside a sandboxed Linux virtual machine. This project removes the requirement for macOS and a virtual machine, allowing you to run Claude Cowork natively on Linux.

How it works

This project acts as a compatibility layer that "spoofs" the environment to trick the Claude Desktop app into thinking it is running on macOS. It replaces macOS-specific native modules with JavaScript stubs, translates file paths between the expected virtual machine structure and your actual Linux file system, and patches the app's code to bypass platform restrictions. It then runs the Claude Code CLI directly on your Linux host rather than inside a virtual machine.

Who it’s for

This tool is for Linux users who want to use Claude Cowork features without needing a macOS machine or a virtual machine setup. It is intended for users comfortable with the command line and who understand that this is an unofficial research project.

Highlights

  • Runs Claude Cowork natively on Linux (x86_64).
  • No macOS machine or virtual machine required.
  • Automatically detects and handles platform-specific requirements like Wayland.
  • Includes a diagnostic tool (--doctor) to verify your environment setup.
  • Supports multiple installation methods, including a script, AUR package, and Nix flake.

Related

  • Project
  • Dispatch
  • Project
  • Project
  • Dispatch