Get to the Command Line on a Mac

This article teaches you how to open the Terminal (command prompt) application in macOS using Launchpad, Spotlight, or Finder. Terminal gives you access to the Unix part of macOS so you can manage files, edit settings, and run scripts using text commands.

Steps

Using Launchpad

  1. Open Launchpad. It’s the silver icon in the Dock that looks like a rocket. The Dock is a panel of icons usually found at the bottom of the screen, though it can also be moved to the screen’s left or right side.[1]
    • If you’re on a laptop, you can also open Launchpad by doing a four-finger pinch gesture on the trackpad.
    • You may also be able to open it by pressing F4 on the keyboard.
  2. Click the Other folder. It’s a square icon containing several smaller icons.
  3. Click Terminal. The Terminal application will now launch to the command prompt.
    • If you don’t see Terminal in the Other folder, it may have been moved elsewhere in Launchpad. If you’re unable to find it, try another method.

Using Spotlight

  1. Click the Spotlight icon. It’s the magnifying glass at the top right corner of the screen.[2]
    • You can also open Spotlight by pressing Command+Space on the keyboard.
  2. Type terminal into the search box. “Terminal” will appear in the search results.
  3. Double-click Terminal. The Terminal application will now launch to the command prompt.

Using Finder

  1. Open Finder. It’s the icon at the bottom of the screen that looks like a two-toned smiling face.
  2. Click Applications. It’s in the left panel of Finder.
    • If you don't see "Applications" in the left panel, click Go at the top of the screen and select Applications.
  3. Click Utilities. You may have to scroll down to find it.
  4. Double-click Terminal. You may have to scroll down to find it. The Terminal application will now launch to the command prompt.[3]


Tips

  • To close Terminal, press Command+Q.
  • To change the color scheme of your Terminal window, click Terminal at the top of the screen and select Preferences. Choose one of the themes on the left side of the screen or customize the colors in the main panel.

Related Articles

Sources and Citations