Showing Dotfiles on macOS (Better Late Than Never)
Overview
A setting to apply when you want to view dotfiles in Finder.
Environment
- MacOSX Yosemite 10.10.3
Steps
Open Terminal and run the following command
1 | $ defaults write com.apple.finder AppleShowAllFiles -boolean true |
Restart the Finder app
1 | $ killall Finder |
The dotfiles should now be visible.
If you want to revert
Run the following command in Terminal
1 | $ defaults delete com.apple.finder AppleShowAllFiles |
Restart
1 | $ killall Finder |
That’s all.

