How do I import an iTerm2 profile?

35,997

Solution 1

just upload your *.plist to ~/Library/Preferences.
Notice, that checkbox:

Load preferences from a custom folder or URL

in Preferences - General (at the bottom) must be disabled.

Solution 2

  1. First export all the profiles from iTerm2 as below:

    • Go to Profiles
    • Open Profiles
    • Edit Profiles
    • Other actions
    • Copy All Profiles as JSON
    • Save it to some place you will remember
  2. How to import from above JSON file format which is actually a plist format:

    • go to your home directory cd ~
    • cd Library/Application Support/iTerm2/DynamicProfiles
    • copy your json file you saves to this DynamicProfiles folder
    • cp {backuppath-where-you-exported-in-step1}/itermprofiles.json .
  3. Restart iTerm2 now in profiles it should show all your old profiles

Solution 3

Here's how I import iTerm (iTerm2) JSON Profile files

Open iTerm and Select Profiles from menu enter image description here

Select Edit Profiles button
enter image description here

Select Other Actions... button.
Then select "Import JSON Profiles...'
And then navigate Finder and select the profile you want to import enter image description here

Share:
35,997
Stew
Author by

Stew

Updated on July 10, 2022

Comments

  • Stew
    Stew almost 2 years

    This question helped me with how to export a profile configuration file, but how do I import that file into iterm2 on my new machine?

    (the file I exported was called com.googlecode.iterm2.plist, for what it's worth)