Change iTerm2 Profile

Solution 1:

You have to "Edit" the session.

The easiest way to do this is to right click on anywhere on the open iTerm2 window, select Edit Session... A Preferences pane will appear and under the General tab, look for the Profile Name selection box. Double click on your desired profile.

Solution 2:

This can be done using iterm2 profile keys (these are handy shortcuts which you can add yourself)

  1. In iTerm's preferences, select the keys tab.
  2. There's a table called key mappings, click on the + at the bottom of the table
  3. Choose a keyboard shortcut From the dropdown menu, search and choose for change profile option and assign a shortcut.
  4. Remember these are shortcut keys when you present in the respective profile, so if you switch profile and toggle back, you need to add a shortcut in the other profile

It works across all panes and windows and its setting is persistent across sessions.

This works on iTerm2 (version, 3.0.8 to Build 3.4.6) Reference