Skip to content

πŸ‘₯ macOS Hidden Files

Showing hidden files on macOS

Depending on your macOS settings, some files may be hidden from view in your Finder window, such as .gitignore.

  • On newer versions of macOS, use the following in a Finder window to view hidden files:

Press the β€œCommand” + β€œShift” + β€œ.” (period) keys at the same time.

(The hidden files will show up as translucent in the folder. If you want to obscure the files again, press the same β€œCommand” + β€œShift” + β€œ.” (period) combination.)

  • On older versions of macOS, use the following command in a Terminal window to view hidden files, and then reopen the Finder window:
defaults write com.apple.finder AppleShowAllFiles -bool true

More info on that can be found here: