How macOS actually works
There are three Library folders on a Mac and they do different jobs. Knowing which is which prevents most of the damage people do while cleaning up.
| Path | Scope | Needs admin |
|---|---|---|
~/Library | Just you | No |
/Library | Every user on the Mac | Yes |
/System/Library | macOS itself | Protected — do not touch |
/System/Library is covered by System Integrity Protection and cannot be modified even with sudo. That is a feature.
.plist settingsIt was visible until OS X Lion. Apple hid it because editing the wrong file breaks apps, and because it is not where your documents belong. The trade-off is that when you legitimately need something in there, everything conspires to keep you out — Finder hides the folder, Spotlight omits the results.
Finder's Go menu while holding Option, or ⇧⌘G and type ~/Library. Permanently:
chflags nohidden ~/Library
Generally safe: Caches — apps rebuild them. Old folders in Application Support belonging to apps you removed years ago.
Not safe: Containers for apps you still use, Preferences for apps currently running, anything under Mail or Messages unless you have a backup.
Never: anything in /System/Library.
Because Spotlight returns almost nothing from ~/Library, the practical effect is that a large and important part of your own disk is unsearchable by default. find, `mdfind
-onlyin`, or an index that does not exclude it are the three ways round that.
Yes. Apps regenerate what they need. Expect some apps to be slower on first launch afterwards.
~/Library is yours alone. /Library applies to every user on the Mac and needs admin rights to change.
Everywhere keeps track of every file on your Mac — including the folders Spotlight hides and drives you have unplugged. Free for a day, then $19 once.
Download for Mac