The fastest way to open Terminal
Press Command + Space to open Spotlight Search, type terminal, and press Enter. Terminal will open in a new window. This is the quickest method on any Mac, and it works the same way regardless of which macOS version you are running.
If you prefer using the mouse, you can also navigate to Terminal through Finder. Click the Finder icon in your Dock, select Applications in the sidebar, double-click the Utilities folder, then double-click Terminal. This route takes longer but does not require you to remember a keyboard shortcut.
Once Terminal is open, you will see a window with a command prompt — usually a line ending with a dollar sign ($) or percent sign (%). This is where you type commands. The window may have a black background with white text, or a white background with black text, depending on your macOS version and your settings.
Key Takeaways
- Command + Space opens Spotlight Search, where you can type "terminal" and press Enter to launch it when ready.
- You can also find Terminal by opening Finder, navigating to Applications, then opening the Utilities folder and double-clicking Terminal.
- Terminal appears as a window with a text prompt where you can type commands, usually showing your computer name and current location.
- Keeping Terminal in your Dock saves time if you plan to use it regularly, and you can pin it there by right-clicking and selecting Options > Keep in Dock.
- Each new Terminal window or tab runs independently, so you can open multiple sessions for different tasks without affecting each other.
Adding Terminal to your Dock for faster access
If you use Terminal often, pinning it to your Dock means you can open it with a single click instead of using Spotlight Search each time. Open Terminal using either method described above, then right-click the Terminal icon in the Dock and select Options > Keep in Dock.
Once Terminal is in your Dock, it will stay there even after you close the window. You can click it anytime to open a new Terminal window. The Terminal icon looks like a black rectangle with a white command prompt symbol inside it, so it is straightforward to spot among your other Dock icons.
If you want to remove Terminal from your Dock later, right-click the icon and select Options > Remove from Dock. This does not uninstall Terminal — it only removes the shortcut from your Dock.
Understanding what you see when Terminal opens
When Terminal launches, you will see a window with text that looks something like this: computername:~ username$. The tilde (~) represents your home directory — the main folder where your personal files are stored. The dollar sign ($) marks the end of the prompt, where you type commands. Everything before the dollar sign is information about your current location in the file system.
The text before the dollar sign tells you where you are. As you navigate using commands, this text will change to show your current location. For example, if you move into a folder called Documents, the prompt might change to computername:Documents username$. This helps you keep track of which folder you are working in so you do not accidentally run commands in the wrong place.
Opening a new Terminal window or tab
You can open multiple Terminal windows or tabs to run different commands at the same time. Press Command + N to open a new Terminal window, or Command + T to open a new tab in the current window.
Each window or tab is independent — commands you run in one do not affect the others. Tabs are useful if you want to keep related tasks organized in a single window, while separate windows work better if you want to see multiple Terminal sessions side by side on your screen. You can switch between tabs by pressing Control + Tab or by clicking the tab you want.
Closing Terminal safely
You can close a Terminal window by clicking the red close button in the top-left corner, pressing Command + W to close just that window, or pressing Command + Q to close the entire Terminal process and all open windows at once.
You can also type exit at the prompt and press Enter to close a single window. If you have commands still running, Terminal will warn you before closing. If you close a window by accident, you can open a new one — closing Terminal does not delete any files on your computer, it only closes the window or process.
Customizing Terminal appearance
Terminal has settings you can adjust to make it easier to read and more comfortable to use. Go to Terminal > Preferences (on older Macs) or Terminal > Settings (on newer Macs) to change the background color, text color, and font size.
The Profiles or Themes tab lets you choose from different color schemes or create your own. Light backgrounds with dark text work well in bright rooms, while dark backgrounds reduce eye strain in dim lighting. You can also increase the font size if text is hard to read, or decrease it if you want to fit more text in the window at once. These changes explore only to Terminal — they do not affect the rest of your Mac.
Frequently Asked Questions
What is the difference between Terminal and other command-line programs?
Terminal is the default command-line interface that comes built-in on every Mac. Other programs like iTerm2 offer extra features such as split panes and better customization, but Terminal works for most tasks and requires no installation.
Can I accidentally break my computer by typing in Terminal?
Yes, some commands can delete files or change system settings. Start by running straightforward commands like ls (which lists files) or pwd (which shows where you are). Read what a command does before you run it, especially if it includes words like "remove" or "delete".
Why does Terminal show a different prompt than what I expected?
The prompt changes based on your shell — the program that interprets your commands. Macs use either bash or zsh depending on the macOS version. Both work the same way for basic tasks, so the difference does not matter when you are starting out.
Can I have Terminal open automatically when I start my Mac?
Yes. Go to System Settings > General > Login Items, click the plus button, find Terminal in Applications > Utilities, and click Add. Terminal will open automatically when you log in.
Is it safe to copy and paste commands into Terminal?
Only paste commands from sources you trust. Pasting unknown commands can run code you do not understand and potentially harm your system. Always read a command before you run it, whether you type it or paste it.