OSX – How to auto Close Terminal window after the “exit” command executed. November 28, 2022 by Tarik in Terminal.app Preferences > Profiles > (Select a Profile) > Shell. on ‘When the shell exits’ chosen ‘Close the window’