Integrated Terminal

In Visual Studio for Mac you can open an integrated terminal window, initially starting at the root of your solution. The terminal can be useful for different kinds of situations – running front-end tasks (for example: npm, ng, or vue), managing containers, running advanced git commands, executing Entity Framework commands, viewing dotnet CLI output, adding NuGet packages, and more.

To open the terminal:

  • Use the Ctrl + ` keyboard shortcut to show or hide the terminal window.
  • Use the View > Terminal menu.
  • Use the terminal command from the search bar.

The Visual Studio for Mac integrated terminal immediately after being launched.

By default, when the terminal is launched it will:

  • Set the working directory to the path of the current solution.
  • Load the default system shell.

You can search the content of the terminal window by using the Search > Find... menu.

Search experience in the Visual Studio for Mac Integrated Terminal

Terminal Keyboard Shortcuts

Commands Keyboard shortcuts
Show/Hide the terminal window Ctrl+ `
Create new terminal instance Ctrl+'
Scroll page up PageUp
Scroll page down PageDown
Cycle through previously used commands ,
Increase font size ⌘+
Decrease font size ⌘-

Multiple instances

Multiple instances of the terminal may be running at any time. You can create a new instance by using the Ctrl+' keyboard shortcut. You can switch between instances by clicking on the tab for each instance, or using the Ctrl+tab shortcut to use the window picker dialog.

Multiple terminal instances in Visual Studio for Mac 

Customizing the terminal window

Configuring the Terminal Font

You can change the font and size used for Terminal Contents in the Preferences > Environment > Fonts pane. By default, the font will be the same as Output Window Contents, using Menlo Regular, size 11. You can set it to any font, independent of your editor font.

Customizing the font settings for the integrated terminal

Reusing system terminal customizations

The integrated terminal uses the same defaults and configuration as your macOS system terminal. That means that your terminal customizations (zsh, oh-my-zsh, etc.) also work in the integrated terminal.