This article is 13 years old

The content here might be outdated as technology and best practices evolve quickly. While the concepts may still be valuable, please verify the information against current documentation and standards.

Unhide the Library folder on (Mountain) Lion

osx

Problem

Since OSX 10.7 Apple has decided to hide the ~/Library folder from your users directory. When you are using the iPhone Simulator or other development applications, you spend a fair amount navigating around in the Library. So if you are tired of using command+shift+G all the time, you can easily unhide the Library folder forever and ever, without showing all the hidden files on your system!

Here are 2 solutions that (maybe) will make the world a better place to live in.

Solutions

Option 1 (the best)

  • Open Terminal

  • Execute the following command

chflags nohidden ~/Library

Bash

Option 2

If you are a bit scared of wandering around the dungeons of Terminal, you can use the shortcut command+shift+g when you are working in Finder. For extra awesomeness you can drag the Library folder to your sidebar. You’ll never have been this productive (well at least to open the Library folder)!

Extra

If you want to show all hidden files, just open up the Terminal again and execute the following command

defaults write com.apple.Finder AppleShowAllFiles YES

Bash

If you want to hide all the files again, just replace YES with NO (but I guess you figured that one out yourself).

Frederik Jacques - Author

About the Author

👋 Hi, I'm Frederik Jacques, a passionate iOS developer and entrepreneur with over a decade of experience building innovative mobile applications.

I love creating apps that solve real problems and bring joy to users. From educational tools to creative meme makers, I'm always exploring new ways to blend technology with user experience. When I'm not coding, you'll find me sharing insights about iOS development, app monetization, and the indie developer journey.