Show hidden files on macOS and mac OSX

The fast path using Finder

Since the release of macOS Sierra it is possible to use the following:

  • Open the Finder application
  • Press CMD + SHIFT + .

The long path using the Terminal

For older versions of the mac OSX use the following:

  • Open the Terminal application
  • Paste the following code into the Terminaldefaults write AppleShowAllFiles YES
  • Press the return key