How to delete all the color presets in iTerm2?

Abstract: Delete all custom color presets in iTerm2 by removing files from the ~/Library/Application Support/iTerm2/Color Presets directory.

Created: 2026-10-03 by

To delete all color presets in iTerm2, you must manually remove the corresponding JSON files from the ~/Library/Application Support/iTerm2/Color Presets directory. The application interface does not provide a global "Delete All" button, so clearing the list requires navigating to this folder and deleting the files that match your unwanted themes.

Understanding iTerm2 Color Storage

iTerm2 stores its color schemes as individual files rather than a single database entry. This design allows for easy portability and sharing of themes but complicates bulk management. When you install a new theme, either by dragging it into the Preferences window or downloading it from a repository like iTerm2Colors, a new file is created in the specific support directory. Consequently, removing these presets cannot be done through the graphical user interface alone. You must interact directly with the file system where these configurations reside. The primary location for these files is within your user library folder. Because the Library folder is hidden by default in macOS, accessing it requires a specific keyboard shortcut or manual path entry. Understanding this structure is crucial because simply closing the Preferences window will not undo any changes made to the files on disk.

Locating the Color Presets Directory

You need to access the hidden Application Support folder to find the installed themes. Open Finder and press Command + Shift + G to open the "Go to Folder" dialog. Paste the following path exactly: ~/Library/Application Support/iTerm2/Color Presets Press Enter to navigate to this directory. You will see a collection of files, typically with extensions like .terminalcolor or sometimes just .json depending on the version and source of the theme. Each file represents one color scheme currently available in the iTerm2 dropdown menu. If you see many files here, they are the exact candidates for deletion. For users who prefer using the terminal to manage these files, you can also verify the contents by running the ls command in that directory. This provides a text-based list of all installed presets, which can help you identify duplicates or old versions that are no longer needed.

Alternative Access via Terminal

If you are comfortable with the command line, you can open iTerm2 itself (or any terminal) and execute the following commands to view and remove files:
cd ~/Library/Application\ Support/iTerm2/Color\ Presets
ls -la
This lists all files in the directory. Be extremely careful when using rm commands here, as deleting the wrong files can remove essential system defaults or leave iTerm2 in a broken state if critical configuration files are removed.

Deleting the Preset Files

Once you have located the directory, you can proceed with the deletion. To remove all custom presets, you can select all the files in Finder and move them to the Trash. However, exercise caution: do not delete files if you are unsure what they contain. It is safer to delete only the ones you recognize as unwanted third-party themes. If you wish to start completely fresh, you can delete all files in this folder. Note that iTerm2 has built-in default colors (like Basic, Solarized Dark, etc.). These are often embedded in the application binary or stored elsewhere, so deleting all files in this folder will not break the application. Instead, it will simply reset your visible list to only the built-in options that appear when no custom theme is selected. After deleting the files, you may need to restart iTerm2 for the changes to take effect immediately in the Preferences window. Sometimes the UI caches the list of available themes, so a full quit and relaunch ensures the dropdown menu reflects the current state of the file system.

Verifying the Changes

Open iTerm2 and go to Preferences > Profiles > Text > Colors. Click the dropdown menu next to Color Presets. You should now see a significantly shorter list containing only the default schemes. If any custom themes still appear, check if there are duplicate files in the directory or if the application cache needs clearing. This process is similar to managing other configuration bundles in macOS. For instance, if you encounter issues with window behaviors, such as those discussed in our guide on Fixing iTerm 2: Prevent Non-Hotkey Window from Opening Automatically, understanding the underlying file structure helps troubleshoot broader configuration problems.

Preventing Future Clutter

To avoid accumulating too many unused presets, consider organizing your downloads before installing them. Only import themes you intend to use regularly. If you are testing multiple themes, keep them in a separate temporary folder and only move the ones you keep into the Color Presets directory. This keeps your installation clean and makes future maintenance easier. Additionally, be aware that some third-party tools or scripts might automatically populate this folder. If you notice new files appearing unexpectedly, check if you have any background automation running that syncs theme repositories. Disabling such syncs can prevent the directory from becoming cluttered again.

Frequently Asked Questions

Will deleting these files remove my saved profiles?

No, deleting files from the Color Presets directory only removes the color schemes themselves. Your terminal profiles, key bindings, and window settings are stored in different locations, specifically in ~/Library/Preferences/com.googlecode.iterm2.plist. Your profile configurations will remain intact after removing the color files.

How do I restore a deleted preset?

Since the files are deleted from your local machine, you must re-download the theme. Visit the original source, such as GitHub or a theme repository, download the .terminalcolor file, and drag it back into the Color Presets folder. Alternatively, you can drag the file directly into the Colors dropdown menu in iTerm2 Preferences to reinstall it.

Can I delete all presets at once using a script?

Yes, you can use a shell command to remove all files in the directory safely. Run rm ~/Library/Application\ Support/iTerm2/Color\ Presets/* in your terminal. This command deletes all contents of the folder. Ensure you do not include a trailing slash in the wildcard pattern to avoid errors, and always double-check the path before executing removal commands.

Why do some themes still appear after I delete their files?

This usually happens because iTerm2 caches the list of available colors. Quit the application completely using Command + Q and reopen it. If they persist, check if the theme is actually a built-in default that shares a name with a custom one, or if there are hidden files (starting with a dot) in the directory that were not selected during deletion.

Is it safe to delete the entire Color Presets folder?

It is generally safe to delete the contents, but deleting the folder itself might cause iTerm2 to fail to create new presets until the folder is recreated. It is better to empty the contents of the folder rather than deleting the directory structure. macOS will automatically recreate the folder if iTerm2 tries to write a new theme later, provided you have proper permissions.

Latest News

How to Display Output of xterm Command in Terminal Screen using Cron

Resolve the inability to display xterm output in a terminal screen from cron by redirecting logs or using wall instead of insecure X11 workarounds.

Read More
Expose Local Server on VPS Preserving Real Client IPs (OS Level)

Resolve VPS logging showing only gateway IPs by configuring reverse proxies to forward real client addresses via X-Forwarded-For headers.

Read More
How to Clear Recent Files History in Linux without Deleting Actual Files?

Clear recent files history in Linux by deleting ~/.local/share/recently-used.xbel without removing the actual files.

Read More
Best HDD Copy Strategy: Manually Syncing and Rewriting Scratch

Resolve data drift between two 4TB hard drives by using rsync with the --delete flag to manually sync and rewrite scratch data for an exact mirror.

Read More
Understanding Bash Prompt Abbreviations: An Overview

Resolve repetitive typing errors by creating and persisting Bash aliases in the .bashrc file for improved command-line efficiency.

Read More
Free Tools and Methods to Log Real-Time Performance Details in Task Manager

Log real-time CPU and memory metrics to CSV files using Windows Performance Monitor Data Collector Sets to troubleshoot system slowness.

Read More
Contact Qatar Airways Customer Service: Phone Number, Help Center, and More

Resolve urgent Qatar Airways reservation issues like flight changes and baggage claims using the US phone number +1801-855-5905 or online self-service tools.

Read More
Windows 11: Alt Codes Displaying Wrong Characters - Solutions

Resolve Windows 11 Alt codes showing wrong characters by verifying the US keyboard layout and enabling Num Lock.

Read More
Run Programs with Elevated Privileges: A Comprehensive Guide

Eliminates the need to type sudo for frequent administrative tasks by configuring .bashrc aliases or functions.

Read More
Dynamically Changing Dates in Excel Formulas Using Cells

Eliminate manual date updates in Excel by using cell references to create dynamic formulas that automatically adjust calculations when input dates change.

Read More
Granting Edit Access to a Specific Excel Sheet in an Office 365 User Email ID-Based Login

Excel Online lacks native sheet-level permissions, so users must split workbooks or use worksheet protection to isolate edit access for specific tabs.

Read More
Creating Network Load on Local Wi-Fi from One PC

Generate sustained Wi-Fi bandwidth load from a single PC using a VM SFTP server to test router stability and throughput.

Read More
Changing the Default Editor for Batch Files in Windows 11's File Explorer

Resolve the issue of batch files opening in Notepad by changing the default editor to a preferred application like VS Code.

Read More
Gain WiFi Connection Minutes Before Losing it by Changing MAC Address

Bypass MAC address filtering to restore WiFi connectivity temporarily when a device is blocked by network administrators.

Read More
Photos Folders Turned Black: Troubleshooting Picture Applications on Windows

Resolve black screens in Windows Photos by resetting the app, updating graphics drivers, and repairing system files.

Read More
Troubleshooting High CPU Temperature Values: A Step-by-Step Guide

Resolve high CPU temperatures and thermal throttling by monitoring with Speedfan, cleaning dust from cooling components, and replacing degraded thermal paste.

Read More
Make cURL establish TLS connection with CA unknown

Resolve cURL TLS connection failures with unknown or self-signed certificates by using the --insecure flag to bypass CA validation.

Read More
Troubleshooting Incorrect Network Metrics Values in Grafana, Prometheus, InfluxDB, and Telegraf

Fix incorrect network metrics in Grafana, Prometheus, InfluxDB, and Telegraf by verifying interface selection, resolving unit mismatches, and handling counter resets.

Read More
Start Another Terminal Window (cmd.exe) Windows Repair/Troubleshoot

Provides step-by-step instructions to access the Windows Command Prompt via bootable media for advanced system repair and troubleshooting.

Read More
Thinkpad P1 Gen 6: Sudden Thunderbolt 3 Dock USB-C Charging Stopped Working

Resolve sudden Thunderbolt 3 dock USB-C charging and internet failure on ThinkPad P1 Gen 6 by updating firmware, resetting the dock, and adjusting power settings.

Read More
ASUS Windows 11 Laptop: Internet Connection Issue with Hotspot

Resolve ASUS Windows 11 laptop spinning wheel issue when connecting to mobile hotspot by resetting network stack, disabling IPv6, and adjusting power settings.

Read More
Developing iOS Project with Firebase: Logging in and Sending Push Notifications

Integrates Firebase to enable secure user authentication and push notifications in iOS applications.

Read More
Troubleshooting Bash Script with Suspected Issues of Spaces, Dashes, Filenames and Quoting

Resolve Bash script failures caused by word splitting, globbing, and special characters in filenames by applying proper quoting techniques.

Read More
Populating OneDrive Folder for Local Backup without Affecting Remote Files

Prevent OneDrive from deleting remote files during Windows reinstallation by unlinking the account or using symbolic links to isolate local data.

Read More
Force First Frame as Keyframe Without Re-encoding: A Quick Solution

Resolve inaccurate seeking and playback glitches by re-encoding video to ensure the first frame is a valid keyframe.

Read More
Find Information in Database Using WSL (Ubuntu) on Windows-10

Resolve database connection issues from WSL Ubuntu on Windows 10 by configuring client tools and network access to query remote or local servers.

Read More
Configuring a New Router with Different Networks: One Family, One Guest

Resolve IP conflicts and isolate guest traffic by configuring a second router with a distinct subnet via its WAN port.

Read More
Quickly Open Multiple Stock Websites with a Single Command

Solve the problem of manually opening multiple stock research websites by creating a single command to launch them simultaneously on Windows, macOS, or Linux.

Read More
Improved Adobe Acrobat Search Experience: Access Advanced Search with Ease

Access advanced search filters like case sensitivity and regex in Adobe Acrobat by clicking More Options in the Find bar.

Read More
Port Forwarding VM via OpenVPN: A Comprehensive Guide

Configure OpenVPN server and iptables to forward specific ports from VPN clients to a virtual machine's internal IP address.

Read More
Understanding Partitions in the 1980s: A Look Back at MS-DOS and Master Boot Record

Explains how the Master Boot Record and partition table enabled MS-DOS to manage multiple disk volumes on a single physical drive.

Read More
Windows 10 Enterprise: Keyboard Not Detected in Managed Organization with Admin Privileges

Resolve Windows 10 Enterprise keyboard detection failures caused by Group Policy restrictions, driver corruption, or USB enumeration errors.

Read More
Can't Find x86_64 Versions of Applications on MacOS arm64 (M1)

Resolve missing x86_64 app issues on M1 Macs by installing Rosetta 2 and reinstalling apps as universal binaries.

Read More
How to Hide Installation Source for an Android App

Manage Android app installation source visibility by using USB transfers or file managers to reduce browser traces and isolate data via work profiles.

Read More
Connecting Momentus 4200.2 ST9808210A Hard Drive via USB Cable

Resolve inability to access Seagate Momentus 4200.2 ST9808210A hard drive by connecting it via USB using a compatible SATA-to-USB adapter and configuring the disk in Windows.

Read More