Search code examples
terminaliterm2visual-studio-code

Change default terminal app in Visual Studio Code on Mac


I want to change the default terminal app used by Visual Studio Code for Mac. I am thinking it is part of preferences or settings json, but unsure.


Solution

  • Here's an example of how to make another terminal the default for VSCode, in this example I've downloaded iTerm2 and copied iTerm2 to Applications.

    1. Code (Menu) > Preferences > User Settings

    enter image description here

    1. Edit settings.json "terminal.external.osxExec": "iTerm.app" and "terminal.explorerKind": "external"

    enter image description here

    1. Open in Terminal

    enter image description here

    1. iTerm is now default terminal launched from VSCode

    enter image description here