- In Terminal, paste the following:
defaults write com.apple.finder AppleShowAllFiles YES
- Press return
- Hold the ‘Option/alt’ key, then right click on the Finder icon in the dock and click Relaunch.\
Show/Hide Hidden Files using Terminal Aliases
- In Terminal, paste the following:
sudo nano ~/.bash_profile or sudo nano ~/.zshrc
- Enter your Mac’s administration password if required, then hit return
At the bottom of the open
.bash_profile
file, paste the following: