Install iTerm2 on Mac with Homebrew

The classic Terminal replacement, still in plenty of dotfiles.

How to install iTerm2

$ brew install --cask iterm2

Paste it into Terminal. Don’t have Homebrew yet? Install it first:

$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Official site: iterm2.com

Set up the rest of your Mac too

Add iTerm2 to a Dock of the apps most people install on a new Mac, then copy one command that installs all of them.

Add iTerm2 to my Dock

Alternatives to iTerm2

  • Ghostty

    Our pickHomebrew

    A fast native terminal from Mitchell Hashimoto, and the new default for a lot of developers.

    brew install --cask ghostty
  • Rex Multiplexer

    Direct download

    A terminal multiplexer from the Ghostty author that keeps sessions alive after you quit.

  • Warp

    Homebrew

    A terminal with blocks and agents built in, popular with people new to the shell.

    brew install --cask warp

Comparisons

More guides