JustToThePoint English Website Version
JustToThePoint en español
JustToThePoint in Thai

How to install, configure, and use Windows Terminal and iTerm

A terminal emulator is a text-only application that emulates a console in a desktop environment. Basically, it is a GUI program that acts as a wrapper or front-end and allows you to run a shell and enter commands that the operating system can interpret and execute.

And just as any other program or application, you can install, uninstall, and customize different terminals. There are many great terminals out there such as iTerm, Alacrity, Windows Terminal, Hyper.is, Kitty, guake, and gnome-terminal.

A shell is a command-line interpreter. It sits between the kernel (core) of an operating system and the user, and exposes the operating system’s services to a human user or other programs. In other words, a shell is a command-line user interface for accessing the services of the operating system. Some example of shells are: Power Shell, cmd, Bash, fish, and Zsh. Terminals



Spice your Windows terminal

Windows terminal is a modern host application for command-line tools and shells, like Command Prompt, PowerShell, zsh and bash (WSL). It’s very powerful and offers a lot of customization and productivity features like tabs, themes, customized color schemes, shortcuts, and much more.

  1. Install Windows Subsystem for Linux (WSL): wsl ‐‐install or wsl –install -d Ubuntu

  2. To make Windows Terminal able to render the fancy icons, install NERD-FONTS. Download a font, e.g., Droid Sans Mono Nerd Fonts; extract or unzip the archive, and install all the .otf Font files.

  3. Install Zsh and Oh My Zsh in WSL:

    sudo apt-get update && sudo apt-get upgrade
    sudo apt install zsh -y
    sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

    Do you want to change your default shell to zsh? [Y/n] Type Y to set zsh as the default shell.

  4. Change Windows Terminal Settings to use Nerd-Fonts (“fontFace”: “DroidSansMono Nerd Font”). Click on Settings in the Windows Terminal menu, Open JSON file.

            "guid": "{2c4de342-38b7-51cf-b940-2309a097f518}",
            "hidden": false,
            "name": "Ubuntu",
            "source": "Windows.Terminal.Wsl",
            "fontFace": "DroidSansMono Nerd Font"
  5. Powerlevel10k is a theme for Zsh. It emphasizes speed, flexibility and out-of-the-box experience:

    git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k

    Activate the theme by editing your ~/.zshrc file (~/.zshrc) and replacing ZSH_THEME=”robbyrussel” with ZSH_THEME=”powerlevel10k/powerlevel10k”. Restart the terminal and follow the Powerlevel10k configuration wizard.

  6. zsh-autosuggestions, is a fish-like fast and unobtrusive autosuggestions for zsh, a real time saver! Installation with Oh-my-zsh: Clone its repository into ~/.oh-my-zsh/custom/plugins…

      git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions 

    … and add the plugin to the list of plugins for Oh My Zsh to load, nvim ~/.zshrc: plugins=(zsh-autosuggestions).

  7. zsh-syntax-highlighting. It provides syntax highlighting for the shell zsh. Installation: Clone its repository…

      git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting

    … and activate the plugin in ~/.zshrc:

      plugins=( [plugins...] zsh-syntax-highlighting)
  8. Customize the color scheme and the hotkeys. Click on Settings in the Windows Terminal menu, Open JSON file.

        "command": { # Customizing the hotkeys
          "action": "globalSummon"
          "keys": "alt+t" 

    To open the Windows Terminal, press the Windows + X keys simultaneously on the keyboard. In the WinX menu, select the Windows Terminal option. Now, you will be able to bring up the Windows terminal by typing “Alt” + “t”.

        { "command": "closeWindow", "keys": "alt+f4" }, # It closes the current window and all tabs within it
        { "command": "toggleFullscreen", "keys": "alt+enter" }, # Toggle between full screen and default window size.
        { "command": "toggleFullscreen", "keys": "f11" },
          { # Customizing the color scheme, Windows Terminal Themes, https://windowsterminalthemes.dev/
            "name": "Dracula",
            "black": "#000000",
            "red": "#ff5555",
            "green": "#50fa7b",
            "yellow": "#f1fa8c",
            "blue": "#bd93f9",
            "purple": "#ff79c6",
            "cyan": "#8be9fd",
            "white": "#bbbbbb",
            "brightBlack": "#555555",
            "brightRed": "#ff5555",
            "brightGreen": "#50fa7b",
            "brightYellow": "#f1fa8c",
            "brightBlue": "#bd93f9",
            "brightPurple": "#ff79c6",
            "brightCyan": "#8be9fd",
            "brightWhite": "#ffffff",
            "background": "#1e1f29",
            "foreground": "#f8f8f2",
            "selectionBackground": "#44475a",
            "cursorColor": "#bbbbbb"

    Windows Terminal

    Windows Terminal


  9. To resize the text, hold down the Ctrl key and scroll the mouse wheel or click the drop-down menu next to the New tab (+) button, select Settings, Defaults from the left pane, Appearance, Font Size. Then, change the font size as needed.

  10. To change the default font face and the starting directory:

    # Under the "profiles" section, inside the "default" brackets, type the following lines:
    "startingDirectory": "%USERPROFILE%/Documents/",
    "fontFace": "Consolas"
  11. The Windows Terminal supports opening multiple tabs and splitting the terminal into multiple panes for better productivity and multitasking. To split the terminal into two panes, press Alt, Shift, and + (vertically), Alt, Shift, and - (horizontally). To switch between these panes, press Alt + arrow keys.

  12. To open a hyperlink with your mouse, use Ctrl + click. The Windows Terminal supports splitting the panes for better productivity and multitasking.

    The Windows Terminal supports splitting the panes for better productivity and multitasking.


Spice your macOS Terminal with iTerm

iTerm2 is a replacement for your macOS Terminal. It brings the terminal into the modern age. It's highly customizable and comes with a lot of useful features.

An alternative is Hyper. It is a cross-platform (it runs on Windows, macOS, and GNU/Linux), Electron-based, terminal, highly customizable and configurable. Awesome Hyper is a curated list of Hyper packages, themes, and resources.

  1. iTerm2 Installation: brew install ‐‐cask iterm2
  2. Zsh is a new and extended shell designed for interactive use with plenty of new features and plugin and theme support: brew install zsh zsh-completions.
  3. Set a hotkey to open/close the terminal. Go to iTerm2, Preferences, Keys, select the HotKey tab and then click Create a Dedicated Hotkey Window: Hotkey (Ctrl+Alt+t), then check Animate showing and hiding and Show this Hotkey Windows. Next, go to iTerm2, Preferences, Profiles, click on the Hotkey Window Profile, and then select the Window tab, Style (Full Screen). Finally, System Preferences, Users & Groups, go to the Login items tab, +, then navigate to your Applications folder and select iTerm.
  4. Install Oh My Zsh: sh -c “$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
  5. Install PowerLevel10k, zsh-syntax-highlighting, zsh-autosuggestions:
        git clone https://github.com/romkatv/powerlevel10k.git $ZSH_CUSTOM/themes/powerlevel10k
        p10k configure # If you are using iTerm2, p10 configure can install the Meslo Nerd Font for you.
        git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
        git clone https://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions
    nvim .zshrc
        plugins=(git zsh-syntax-highlighting zsh-autosuggestions colored-man-pages colorize pip python brew)
        # To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
        [[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
    Besides, Spaceship and Starship are customizable prompts that you may want to try out.
  6. Configure the terminal to use Meslo Nerd Font, change the font size and add a better text cursor: iTerm, Preferences, Profiles (Profile Name: Hotkey Window) go to the Text tab: Cursor (Vertical bar; Blinking cursor); Font (MesloLGS NF, Regular, 14/18).
  7. To toggle full-screen mode, press Command + Enter. To click a link, Command + Click.
  8. To divide a tab into two rectangular panes, each of which is a different terminal session, press Command + d (vertically) or Command + Shift + d (horizontally). To navigate among split panes, press Command + Option + Arrow iTerm2


Bitcoin donation

JustToThePoint Copyright © 2011 - 2022 PhD. Máximo Núñez Alarcón, Anawim. ALL RIGHTS RESERVED. Bilingual e-books, articles, and videos to help your child and your entire family succeed, develop a healthy lifestyle, and have a lot of fun.

This website uses cookies to improve your navigation experience.
By continuing, you are consenting to our use of cookies, in accordance with our Cookies Policy and Website Terms and Conditions of use.