iTerm2 is an alternative or can be called a replacement of the Terminal App on macOS. iTerm2 brings in more features to the Command Line that are not available in the Terminal.
You should be on macOS 10.14 or later
How to install iTerm2
- Open Terminal,
- Type command: brew install --cask iterm2 (make sure homebrew is installed)
- iTerm will get installed under /Applications
- Open iTerm using Spotlight Search or Terminal open command.
Few features of iTerm2
1. Split Panes
Though macOS Terminal does allow to have multiple tabs within the Terminal Window, it does not let you split the panes to work more efficiently, this is one of the much-craved features that iTerm2 adds. You can divide a tab into multiple panes with each having a separate session.
The panes can be sliced both vertically and horizontally and there is no limit to the number of divisions you can have at a time.
Just like IDE's you have autocomplete with iTerm2, as you start typing, the suggestions will appear, and press Command + ; to get the suggestions window.
3. Paste History
You can revisit recently copied or pasted text.
iTerm2 has a find-on-page feature, as you search the matches are highlighted. You can even make use of regular expressions.
There is internationalization support, including support for Unicode combining marks, full-width characters, Emoji, and many other Unicode features.
See the complete list: https://iterm2.com/features.html
Split Horizontally:Option ⌥ + Shift ⇧ + Command ⌘ + H Split Vertically:Option ⌥ + Shift ⇧ + Command ⌘ + V Cycle Tabs Forward: Tab + Right Arrow Cycle Tabs Backward: Tab + Left Arrow Scroll One Line Up: Command ⌘ + Up Arrow Scroll One Line Down: Command ⌘ + Down Arrow Previous Tab: Command ⌘ + Left Arrow Move Tab Left: Shift + Command ⌘ + Left Arrow Next Tab: Command ⌘ + Right Arrow Move Tab Right: Shift + Command ⌘ + Right Arrow Scroll To Top: Command ⌘ + Home Scroll To End: Command ⌘ + End Scroll One Page Up: Command + Page Up Scroll One Page Down: Command ⌘ + Page Down
Have Questions? Post them here!
- How to check Command Line Tools Version [Updated for Ventura]
- Trigger Notification Center Message using Mac Terminal Command
- [macOS] How to search or view previous terminal command history
- Show/Hide Hidden Files and Directories on Mac Finder
- How to clear Mac Terminal screen
- Setting JAVA_HOME in macOS Big Sur
- How to find files taking up space on your Mac
- How to Show Battery percentage on Big Sur Menu Bar
- How to uninstall Microsoft Outlook on Mac
- Move from Zsh to Bash shell macOS
- Install Native Golang on M1/M2 ARM based Mac
- Shutdown Mac Terminal Command
- How to Refresh Mac Desktop
- How to Set Background Wallpaper on macOS 13 Ventura
- The Zsh Shell - Mac Tutorial
- Installing brew on M1/M2 ARM Mac
- Display Seconds in Digital Clock on Mac Menu Bar [macOS]
- How to Increase Mac Terminal Buffer Size
- Add Sketch from iPhone to MacBook with macOS Monterey
- How to view the desktop when using macOS Stage Manager?
- [fix] App store not working on Mac, Blank Black or White Screen
- [fix] How to Show file extensions on all files on Mac
- Limit scrollback rows in macOS Terminal
- How to open terminal on Mac to run commands
- Set Custom Background Wallpaper on Mac Terminal (macOS Ventura)
- Java JDBC Connection with PostgreSQL Driver Example - Java
- 300+ Eclipse IDE Keyboard Shortcuts for Mac - Eclipse
- appcompat_v7 errors after updates to API level 21 Material Theme - Android
- Path of homebrew (brew) installation in macOS Big Sur - MacOS
- Git Rename master branch make to main using Command - Git
- How to turn off Stage Manager - macOS Ventura - MacOS
- NewApi error : Finds API accesses to APIs that are not supported in all targeted API versions - Android