Your Mac comes with a powerful built-in application called Terminal (located in Applications > Utilities). For developers, Terminal is like a superpower that allows you to install tools and automate tasks much faster than clicking with a mouse.

What is Homebrew?

On a Mac, when you want an app, you usually download a .dmg file or open the App Store. But for developer tools (like PHP, Node.js, or Git), everyone uses Homebrew. Think of Homebrew like an App Store made specifically for your terminal.

# Search for an application in Homebrew
brew search git

# Install the app with a single press of Enter
brew install git

Essential macOS Terminal Shortcuts

Make your terminal experience effortless with these simple daily shortcuts:

  • Clear the Screen: Press Cmd + K to instantly wipe your screen clean.
  • Auto-complete words: Type the first two letters of a folder name and press Tab.
  • Previous Commands: Press the Up Arrow key to bring back commands you just typed.

3 Things to Remember

  • Terminal: Found in Applications > Utilities or via Spotlight (Cmd + Space).
  • Homebrew: The easiest tool manager for Mac developers (brew install).
  • Cmd + K: Wipes away terminal clutter instantly.