Skip to content
anderegg.ca·

🔍macOS 27.0 Adds Mysterious /pkg Directory

macOS 27.0's New /pkg Directory: What's the Deal?

TL;DR

macOS 27.0 includes a new /pkg directory without clear explanation. Apple added it to PATH and Data volume, but its purpose remains unknown. Could be related to an upcoming package management system.

macOS 27.0 introduces a new /pkg directory, but Apple hasn't explained its purpose. The directory contains four subdirectories (env, etc, inv, var) and was added to the PATH list and Data volume. This mysterious addition has developers speculating about its role in an upcoming first-party package management system. If you're a macOS developer, this could affect your understanding of system paths and future development practices.

macOS 27.0 Adds Mysterious /pkg Directory — anderegg.ca

Key Points

1

macOS 27.0 adds /pkg directory to PATH list, Data volume, and Signed System Volume.

2

Four subdirectories (env, etc, inv, var) are included in the new /pkg directory.

3

Files in /etc/paths.d determine the order of PATH entries, with lower numbers first.

4

Apple added new entries to /etc/paths.d in macOS 13.3 to support Cryptexes.

5

Apple recently took over Swift Package Index, fueling speculation about /pkg.

Why It Matters

If you're a macOS developer, the new /pkg directory could affect your understanding of system paths and future development practices. The mystery around its purpose may lead to speculation about an upcoming package management system from Apple. Developers should keep an eye on Apple's announcements for more clarity.

macOSpkg directoryApplepackage managementsystem paths

Comments

Subscribe to join the conversation...

Be the first to comment

Enjoyed this article?

Get it daily. 7am. Free. Reads in 5 minutes.

Join 3,567 builders reading daily.

Also get