# macOS 27.0が謎の「/pkg」ディレクトリをPATHに追加、Apple自身も説明せず

Original title: What the heck is /pkg?

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

▲ 51 · 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

macOS 27.0で、ルート直下に新設された「/pkg」ディレクトリがPATHに加わっているのを筆者が発見。中にはenv、etc、inv、varの4つのサブディレクトリがあり、将来のApple製パッケージ管理システムの可能性も囁かれるが、公式な説明は一切ない。2007年から続くpath_helperの仕組みを背景に、この不可解な変更の正体を追う。

## Key quote

> 奇妙なのは、私が調べた限り、この新しいディレクトリが何のためのものなのか誰も知らないらしいということだ。Appleがファイルシステム構造を更新し、全員のPATHに追加しておきながら、説明可能な理由がないのはおかしい。

## HN discussion (15 comments)

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

> 「実はこれはmacOS 27.0の一部なんだ…」
>
> 実際にはmacOS 26.4の一部だ：https://eclecticlight.co/2026/09/19/macos-tahoe-26-4-changed... 「これらのレイアウトはmacOS Tahoe 26.3.1まで含めて6年以上変わっていなかったが、26.4とGolden Gateで変更され、新しいfirmlinkedディレクトリpkgが追加された。」
>
> Appleはこういうことを軽々しくはやらない。WWDCのセッションを検索しても/pkgについて具体的に言及したものはないが、これに関係していると賭けてもいい：https://developer.apple.com/videos/play/wwdc2026/206/?time=6...

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

> 「また、/etc/paths.d/10-pmk-globalの『pmk』が何を指すのかも明らかではない。」
>
> 最近のAppleの命名慣習に従うなら、package management kitかもしれない。

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

> つまり彼らは独自のbrewを目指しているのか？それとも全く別の何かを想定しているのだろうか？

---

## Cite

- Page: https://zeli.app/ja/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

- en: https://zeli.app/story/50143154 · markdown: https://zeli.app/story/50143154.md
- zh: https://zeli.app/zh/story/50143154 · markdown: https://zeli.app/zh/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
