mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-03-03 18:00:18 +00:00
113 lines
4.0 KiB
Markdown
113 lines
4.0 KiB
Markdown
---
|
|
title: iTerm2
|
|
homepage: https://iterm2.com/
|
|
tagline: |
|
|
iTerm2: a terminal emulator for macOS that does amazing things.
|
|
---
|
|
|
|
## Cheat Sheet
|
|
|
|
> The only bad thing about iTerm2 is that it's so seamless and intuitive that
|
|
> you quickly forget why you started using it - it just fades into the
|
|
> background.
|
|
|
|
iTerm2 supports a lot of nifty features, including:
|
|
|
|
- Excellent [themes](https://iterm2colorschemes.com/)
|
|
- Hold ⌘ to make links clickable
|
|
- Per-user & per-host sessions
|
|
- Lots of
|
|
[fun little utilities](https://www.iterm2.com/documentation-utilities.html)
|
|
- Better tmux / screen support
|
|
- GPU-accelerated
|
|
|
|
**Important**: Unlike most packages, iTerm2 will be installed to
|
|
`~/Applications`.
|
|
|
|
### How to make the best of iTerm2
|
|
|
|
Open Preferences with <kbd>Cmd ⌘</kbd> + <kbd>,</kbd>
|
|
|
|
```md
|
|
- Appearance
|
|
- Tabs
|
|
- Preserve window size when tab bars shows or hides
|
|
- Profiles
|
|
- General
|
|
- Command
|
|
- Custom Shell (see the Fish Cheat Sheet: <https://webinstall.dev/fish>)
|
|
- Colors
|
|
- Color Presets... (see theme recommendations below)
|
|
- Text
|
|
- Font (see the Nerd Fonts Cheat Sheet: <https://webinstall.dev/nerdfont>)
|
|
- Anti-Aliased
|
|
- Terminal
|
|
- Notifications
|
|
- Check Silence bell
|
|
- Uncheck Flash visual bell
|
|
- Advanced
|
|
- Automatic Profile Switch (see notes below)
|
|
- Advanced
|
|
- (this is where you can reset prompts)
|
|
```
|
|
|
|
### How to set up profile switching
|
|
|
|
I suggest using different profiles:
|
|
|
|
- Default (no matching hosts)
|
|
- Local (matching my local `hostname`)
|
|
- Remote (matching `app@` for VPSes and cloud environments)
|
|
- Prod (matching specific `app@hostname`s for production systems)
|
|
- Root (matching `root@`)
|
|
|
|
You need to "Install Shell Integration" on each host for profile switching to
|
|
work.
|
|
|
|

|
|
|
|

|
|
|
|
### Which themes are the best?
|
|
|
|
There are [216+ color schemes](https://iterm2colorschemes.com/).
|
|
|
|
Here's my shortlist. I chose them because they are easy on the eyes and
|
|
distinct.
|
|
|
|
Two-finger click "Save Link As" (or similar) to download.
|
|
|
|
- <a href="/packages/iterm2/schemes/Tomorrow%20Night.itermcolors" download>Tomorrow
|
|
Night</a>
|
|

|
|
- <a href="/packages/iterm2/schemes/Firewatch.itermcolors" download>Firewatch</a>
|
|

|
|
- <a href="/packages/iterm2/schemes/Dracula.itermcolors" download>Dracula</a>
|
|

|
|
- <a href="/packages/iterm2/schemes/Elemental.itermcolors" download>Elemental</a>
|
|

|
|
- <a href="/packages/iterm2/schemes/Ubuntu.itermcolors" download>Ubuntu</a>
|
|

|
|
- <a href="/packages/iterm2/schemes/cyberpunk.itermcolors" download>cyberpunk</a>
|
|

|
|
- <a href="/packages/iterm2/schemes/Hivacruz.itermcolors" download>Hivacruz</a>
|
|

|
|
- <a href="/packages/iterm2/schemes/Builtin%20Solarized%20Dark.itermcolors" download>Builtin
|
|
Solarized Dark</a>
|
|

|
|
- <a href="/packages/iterm2/schemes/ToyChest.itermcolors" download>ToyChest</a>
|
|
(not for the colorblind)
|
|

|
|
|
|
<!--
|
|
Other considerations:
|
|
Grape
|
|
-->
|
|
|
|
If you're using [fish](https://webinstall.dev/fish) (as you should be!), be sure
|
|
to set your shell color theme to the same or similar:
|
|
|
|
```bash
|
|
fish_config colors
|
|
```
|