How macOS actually works
Three ways, depending on whether you want it once, permanently, or for one folder.
⇧⌘. in any Finder window. Toggles hidden files on and off immediately. Nothing is changed on disk.
defaults write com.apple.finder AppleShowAllFiles -bool true
killall Finder
Reverse with false.
chflags nohidden ~/Library
~/Library is hidden by a flag rather than a leading dot, which is why the dotfile mechanisms do not apply to it.
The same ⇧⌘. works in Open and Save dialogs, which is the fastest way to reach a hidden folder while saving something.
Hidden files are always visible with ls -a, and ls -la adds permissions and sizes. Nothing in the shell hides dotfiles; that is purely a Finder convention.
.DS_Store in every folder Finder has opened, .localized, .git in code projects, and various dotfiles in your home directory. None should be deleted casually except .DS_Store, which Finder recreates.
No. It is purely a display setting in Finder.
It is hidden by a filesystem flag, not a dot. Use chflags nohidden ~/Library.
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