If you prefer using the Terminal or need more control, you can use the following method:

chflags nohidden ~/Library/

), the "link" to this feature is nowhere to be found in the standard Finder menus. must-know trick

Open your folder (the one with your name and the house icon).

defaults write com.apple.finder AppleShowAllFiles -bool true