This product was not featured by Product Hunt yet.
It will not be visible on their landing page and won't be ranked (cannot win product of the day regardless of upvotes).

Product upvotes vs the next 3

Waiting for data. Loading

Product comments vs the next 3

Waiting for data. Loading

Product upvote speed vs the next 3

Waiting for data. Loading

Product upvotes and comments

Waiting for data. Loading

Product vs the next 3

Loading

spmx

Cut SwiftPM & AI worktree disk usage to zero on macOS

AI coding agents and parallel Git worktrees multiply Xcode's DerivedData, eating tens of GBs in duplicate SwiftPM packages. spmx gives your Mac one global APFS copy-on-write store (~/.spmx/store) and shared LLVM CAS build cache. It clones packages in milliseconds (42.3s to 0.46s) with zero extra disk usage across Swift, Xcode, Flutter, React Native, and KMP. Run "spmx link" to scan your Mac and reclaim gigabytes instantly.

Top comment

Hey Product Hunt! Luis here, maker of spmx.

If you build for iOS or macOS and use AI coding agents (Claude Code, Cursor, Codex), your Mac's SSD is getting crushed right now.

AI agents love spinning up parallel Git worktrees so multiple tasks can run at once. The problem? Xcode and Swift Package Manager create a brand-new DerivedData/<App>-<Hash>/SourcePackages folder for every single worktree and project on your Mac.

Spin up 5 worktrees or work across 4 client apps, and your Mac downloads and stores multi-gigabyte SDKs (Firebase, Stripe, gRPC, SwiftSyntax) 5 separate times. You lose 30–80 GB of SSD space and wait on cold builds in every branch.

Node.js has pnpm. Flutter has Puro. SwiftPM had nothing — so I built spmx.

What spmx delivers out of the box:

  • Zero-Copy AI Worktrees & Multi-Project Sharing: Keeps one global store at ~/.spmx/store keyed by (package, version). Every project and worktree keeps its exact Package.resolved versions without conflicts.
  • 98.9% Faster Hydration (42.3s -> 0.46s): Lightweight PATH shims (swift, xcodebuild, flutter) clone packages into SourcePackages using macOS APFS clonefile() (copy-on-write) in milliseconds, consuming 0 extra physical disk blocks.
  • Shared LLVM CAS Build Cache: Automatically configures ~/.spmx/compilation-cache so clean builds across worktrees share compiler outputs.
  • Reclaim Disk Space Today (spmx link): Run spmx link to scan your entire Mac, see a breakdown of duplicated GB across your existing DerivedData and projects, and deduplicate them into APFS clones in one confirmation.
  • Works Across Ecosystems: Accelerates native Swift/Xcode, Flutter, React Native, Expo, Capacitor, KMP, and Rust/UniFFI SwiftPM builds.

Reclaim your SSD in 60 seconds (100% Open Source, MIT, zero telemetry):

curl -fsSL https://get.spmx.io | sh
spmx setup
spmx link

(Or via Homebrew: brew install LuisRibeiroo/tap/spmx)

Check out the full benchmarks and architecture at https://spmx.io and star the repo at https://github.com/LuisRibeiroo/spmx.

If you run spmx link today, drop a comment below with how many GB it reclaimed on your Mac!

About spmx on Product Hunt

“Cut SwiftPM & AI worktree disk usage to zero on macOS”

spmx was submitted on Product Hunt and earned 2 upvotes and 1 comments, placing #152 on the daily leaderboard. AI coding agents and parallel Git worktrees multiply Xcode's DerivedData, eating tens of GBs in duplicate SwiftPM packages. spmx gives your Mac one global APFS copy-on-write store (~/.spmx/store) and shared LLVM CAS build cache. It clones packages in milliseconds (42.3s to 0.46s) with zero extra disk usage across Swift, Xcode, Flutter, React Native, and KMP. Run "spmx link" to scan your Mac and reclaim gigabytes instantly.

On the analytics side, spmx competes within Mac, Developer Tools, Artificial Intelligence and GitHub — topics that collectively have 1.2M followers on Product Hunt. The dashboard above tracks how spmx performed against the three products that launched closest to it on the same day.

Who hunted spmx?

spmx was hunted by Luís Ribeiro. A “hunter” on Product Hunt is the community member who submits a product to the platform — uploading the images, the link, and tagging the makers behind it. Hunters typically write the first comment explaining why a product is worth attention, and their followers are notified the moment they post. Around 79% of featured launches on Product Hunt are self-hunted by their makers, but a well-known hunter still acts as a signal of quality to the rest of the community. See the full all-time top hunters leaderboard to discover who is shaping the Product Hunt ecosystem.

For a complete overview of spmx including community comment highlights and product details, visit the product overview.