See hidden files in Finder
If you search for how to do this, you get a lot of nonsense involving messing with defaults write and horrific applescript bodges.
CMD
+ SHIFT
+ .
That's command key, shift and full stop (period) pressed at the same time.