In Finder Preferences, click the "Sidebar" tab on Mac.