# Apple quietly added a mysterious /pkg directory to every Mac's PATH

Original title: What the heck is /pkg?

> Hacker News story 50143154 · language: en · submitted 2026-10-18
> Web version: https://zeli.app/story/50143154
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 52 · by [GavinAnderegg](<https://news.ycombinator.com/user?id=GavinAnderegg>) · 💬 15
[original](<https://anderegg.ca/2026/10/18/what-the-heck-is-pkg>) · [HN discussion](<https://news.ycombinator.com/item?id=50143154>)

## Summary

While troubleshooting a PATH issue, the author spotted an unfamiliar /pkg/env/global/bin entry and found a root-level /pkg directory with env, etc, inv, and var subdirectories. Howard Oakley traces it to macOS 26.4 on the Data volume, arriving on the Signed System Volume in 27.0. Apple added it via a new 10-pmk-global file in /etc/paths.d, yet nobody knows what it's for. The best guess: a future first-party package manager.

## Key quote

> The weird thing is, as far as I can tell, no one seems to know what this new directory is for!

## HN discussion (15 comments)

### [CharlesW](<https://news.ycombinator.com/item?id=50147453>)

> \> "Turns out, this is part of macOS 27.0…"
>
> Part of macOS 26.4, in fact: https://eclecticlight.co/2026/09/19/macos-tahoe-26-4-changed... "The layout of those hasn’t changed in over six years up to and including macOS Tahoe 26.3.1, but has altered in 26.4 and Golden Gate, with the addition of a new firmlinked directory pkg."
>
> Apple doesn't do this stuff lightly. A search of WWDC sessions doesn't mention /pkg specifically, but I'd bet it's related to this: https://developer.apple.com/videos/play/wwdc2026/206/?time=6...

### [oefrha](<https://news.ycombinator.com/item?id=50147115>)

> \> It’s also not clear what the “pmk” in /etc/paths.d/10-pmk-global refers to.
>
> Maybe package management kit, if we go by recent Apple naming conventions.

### [torben-friis](<https://news.ycombinator.com/item?id=50147241>)

> So they might be aiming for their own brew? Or is there some expectation for a different thing altogether?

---

## Cite

- Page: https://zeli.app/story/50143154
- Date: 2026-10-18
- Source: anderegg.ca (https://anderegg.ca/2026/10/18/what-the-heck-is-pkg)
- Hacker News: https://news.ycombinator.com/item?id=50143154

## Other languages

- zh: https://zeli.app/zh/story/50143154 · markdown: https://zeli.app/zh/story/50143154.md
- ja: https://zeli.app/ja/story/50143154 · markdown: https://zeli.app/ja/story/50143154.md
- ko: https://zeli.app/ko/story/50143154 · markdown: https://zeli.app/ko/story/50143154.md
- de: https://zeli.app/de/story/50143154 · markdown: https://zeli.app/de/story/50143154.md
- es: https://zeli.app/es/story/50143154 · markdown: https://zeli.app/es/story/50143154.md
- ru: https://zeli.app/ru/story/50143154 · markdown: https://zeli.app/ru/story/50143154.md
