Download and install iTerm2 terminal emulator as a replacement for the default macOS Terminal
This Automox Worklet™ automates the download and installation of iTerm2 on macOS endpoints. ITerm2 is a popular replacement for the built-in macOS Terminal application, offering features like split panes, hotkey windows, search with regular expressions, autocomplete, and extensive customization through profiles and triggers.
The installation process downloads the iTerm2 ZIP file from the Automox software cache, extracts it directly to /Applications, and cleans up temporary files. The Worklet also checks for pip3 availability and installs Xcode Command Line Tools if needed, which iTerm2 uses for certain integrations.
Developers and system administrators often prefer iTerm2 over the default Terminal due to its productivity features. Split panes allow running multiple sessions in one window, the search function helps navigate command output, and profiles enable quick switching between different environments or SSH connections.
Deploying iTerm2 through Automox standardizes the terminal experience for technical teams. Rather than having each user download and install manually, you can deploy a consistent version across your development environment with proper dependencies in place.
The Worklet handles the Xcode Command Line Tools dependency automatically, which saves time during first launch when iTerm2 would otherwise prompt the user to install these tools.
Evaluation phase: The Worklet checks if /Applications/iTerm.app exists on the endpoint. If iTerm2 is present, the endpoint is compliant. If iTerm2 is missing, the evaluation triggers remediation.
Remediation phase: The script checks if pip3 is available. If not, it installs Xcode Command Line Tools using softwareupdate. Then it downloads the iTerm2 ZIP from api.automox.com, extracts it to /Applications using unzip, removes the temporary ZIP file, and verifies the installation succeeded.
macOS 10.14 (Mojave) or later
Intel or Apple Silicon processor
Network access to api.automox.com and Apple's software update servers
Xcode Command Line Tools (installed automatically if missing)
After successful remediation, iTerm2 appears at /Applications/iTerm.app. You can verify successful installation by checking the Applications folder or by searching for the application in Spotlight. Users can launch the application and immediately begin using advanced terminal features. First-time users may want to explore Preferences to customize colors, fonts, and keyboard shortcuts to their workflow.
You can verify the installation by checking for the application in /Applications or by reviewing the Worklet execution logs. If Xcode Command Line Tools were installed as part of the process, this is also noted in the logs.
Run this Worklet on a pilot macOS endpoint and review evaluation output for install iterm2.
Confirm Automox activity logs show successful completion and exit code 0.
Verify endpoint state using checks aligned to evaluation script logic, such as exit, else.
Validate remediation effects from script operations such as function, else, touch, then rerun evaluation for compliance.
For technical validation, compare endpoint state to the Worklet evaluation logic and remediation flow for install iterm2. This supports repeatable software lifecycle workflows, faster change control review, and auditable compliance evidence.
Useful script references for this Worklet include evaluation operations such as exit, else and remediation operations such as function, else, touch. Use these indicators to verify that endpoint changes match intended policy outcomes.


By submitting this form you agree to our Master Services Agreement and Privacy Policy.
Already have an account? Log in
Consider Worklets your easy button
A Worklet is an automation script, written in Bash or PowerShell, designed for seamless execution on endpoints – at scale – within the Automox platform. Worklet automation scripts perform configuration, remediation, and the installation or removal of applications and settings across Windows, macOS, and Linux.

AUTOMOX + WORKLETS™
Uncover new possibilities with simple, powerful automation.
By submitting this form you agree to our Master Services Agreement and Privacy Policy