Terminal User Guide

Each window in Terminal represents an instance of a shell process. The window contains a prompt that indicates you can enter a command. The prompt you see depends on your Terminal and shell preferences, but it often includes the name of the host you’re logged in to, your current working folder, your user name, and a prompt symbol. For example, if a user named michael is using the default zsh shell, the prompt appears as:

This indicates that the user named michael is logged in to a computer named MacBook-Pro, and the current folder is his home folder, indicated by the tilde (~).

Open Terminal

Modern

Open or quit Terminal on Mac. Each window in Terminal represents an instance of a shell process. The window contains a prompt that indicates you can enter a command. The prompt you see depends on your Terminal and shell preferences, but it often includes the name of the host you’re logged in to, your current working folder, your username. Terminal is a useful app to install older versions of macOS or OS X. You can even get the new versions of macOS from this app. Although installing an older version of the OS or a new update is a simple process using the App Store, often older versions of macOS will be listed as “unavailable” when you try to download them from the App Store. The terminal is a useful program that can allow you change the Setting, open any application, show hidden files and folder, etc. On your Macbook. The good new is you can simply open the Terminal by using three ways including opening from Finder, LaunchPad and Spotlight. Terminal Dark Mode on macOS Mojave back to menu ↑.

On your Mac, do one of the following:

  • Click the Launchpad icon in the Dock, type Terminal in the search field, then click Terminal.

  • In the Finder , open the /Applications/Utilities folder, then double-click Terminal.

Quit Terminal

  • In the Terminal app on your Mac, choose Terminal > Quit Terminal.

Quit a shell session

  • In the Terminal app on your Mac, in the window running the shell process you want to quit, type exit, then press Return.

This ensures that commands actively running in the shell are closed. If anything’s still in progress, a dialog appears.

Modern Mac Terminal App Mac

If you want to change the shell exit behavior, see Change Profiles Shell preferences.

Apple Terminal App

See alsoExecute commands and run tools in Terminal on MacChange the default shell in Terminal on MacOpen new Terminal windows and tabs on MacUse profiles to change the look of Terminal windows on MacApple Support article: Use zsh as the default shell on your MacApple Developer website: Command Line Primer