How to Get to the Command Line on a Mac

Download ArticleDownload Article

This How.com.vn 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.

Method 1
Method 1 of 3:

Using Launchpad

Download Article
  1. How.com.vn English: Step 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. How.com.vn English: Step 2 Click the Other folder.
    It’s a square icon containing several smaller icons.
    Advertisement
  3. How.com.vn English: Step 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.
  4. Advertisement
Method 2
Method 2 of 3:

Using Spotlight

Download Article
  1. How.com.vn English: Step 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. How.com.vn English: Step 2 Type terminal into the search box.
    “Terminal” will appear in the search results.
  3. How.com.vn English: Step 3 Double-click Terminal.
    The Terminal application will now launch to the command prompt.
  4. Advertisement
Method 3
Method 3 of 3:

Using Finder

Download Article
  1. How.com.vn English: Step 1 Open Finder.
    It’s the icon at the bottom of the screen that looks like a two-toned smiling face.
  2. How.com.vn English: Step 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. How.com.vn English: Step 3 Click Utilities.
    You may have to scroll down to find it.
  4. How.com.vn English: Step 4 Double-click Terminal.
    You may have to scroll down to find it. The Terminal application will now launch to the command prompt.
  5. Advertisement

Community Q&A

Search
Add New Question
  • Question
    What is the command for my ip address?
    How.com.vn English: Community Answer
    Community Answer
    ipconfig getifaddr en0
  • Question
    How do I ping the gateway from terminal?
    How.com.vn English: Community Answer
    Community Answer
    At the command prompt, type "ping " and press Return.
  • Question
    How to find a list of all terminal commands?
    How.com.vn English: Community Answer
    Community Answer
    Press the Escape key (on the keyboard) twice, then press "y" when you're asked if you want to see all commands.
See more answers
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
      Advertisement

      Video

      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.
      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Thanks for submitting a tip for review!
      Advertisement

      About This Article

      How.com.vn English: Nicole Levine, MFA
      Written by:
      How.com.vn Technology Writer
      This article was co-authored by How.com.vn staff writer, Nicole Levine, MFA. Nicole Levine is a Technology Writer and Editor for How.com.vn. She has more than 20 years of experience creating technical documentation and leading support teams at major web hosting and software companies. Nicole also holds an MFA in Creative Writing from Portland State University and teaches composition, fiction-writing, and zine-making at various institutions. This article has been viewed 1,068,198 times.
      How helpful is this?
      Co-authors: 8
      Updated: June 23, 2023
      Views: 1,068,198
      Categories: Mac
      Article SummaryX

      1.Click the Launchpad icon on the Dock.
      2.Click the Other folder.
      3.Click Terminal.

      Did this summary help you?

      Thanks to all authors for creating a page that has been read 1,068,198 times.

      Is this article up to date?

      ⚠️ Disclaimer:

      Content from Wiki How English language website. Text is available under the Creative Commons Attribution-Share Alike License; additional terms may apply.
      Wiki How does not encourage the violation of any laws, and cannot be responsible for any violations of such laws, should you link to this domain, or use, reproduce, or republish the information contained herein.

      Notices:
      • - A few of these subjects are frequently censored by educational, governmental, corporate, parental and other filtering schemes.
      • - Some articles may contain names, images, artworks or descriptions of events that some cultures restrict access to
      • - Please note: Wiki How does not give you opinion about the law, or advice about medical. If you need specific advice (for example, medical, legal, financial or risk management), please seek a professional who is licensed or knowledgeable in that area.
      • - Readers should not judge the importance of topics based on their coverage on Wiki How, nor think a topic is important just because it is the subject of a Wiki article.

      Advertisement