Terminal application on macOS

If you want a different terminal application to be used when using the Multipass system menu icon, you need to tell macOS to use it for the .command file type. Here’s two ways on how to achieve that:


There’s a small helper application that can modify the default application preferences: duti. It’s available from brew, too. Find out your preferred terminal’s bundle identifier using mdls:

$ mdls /Applications/iTerm.app/ | grep BundleIdentifier
kMDItemCFBundleIdentifier              = "com.googlecode.iterm2"

And make it the default for script files using duti:

duti -s com.googlecode.iTerm2 com.apple.terminal.shell-script shell


Create an empty file with a .command extension and find it in Finder. Select the file and press ⌘I. You should be presented with an information pane like this:


Expand the “Open with:” section, select your preferred terminal application and click on “Change All…”.

Last updated 1 year, 6 months ago.