How To Make Your Boring macOS Terminal Amazing With Alacritty

3 min read 2 hours ago
Published on Apr 12, 2026 This response is partially generated with the help of AI. It may contain inaccuracies.

Table of Contents

Introduction

In this tutorial, we will transform your macOS Terminal experience using Alacritty, a fast and minimalist terminal emulator. This guide will walk you through the installation process and configuration steps to enhance your terminal setup, making it visually appealing and more functional.

Step 1: Install Homebrew

Homebrew is a package manager for macOS that simplifies the installation of software. Follow these steps to install Homebrew:

  1. Open your Terminal.
  2. Run the following command:
    /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
    
  3. Follow the on-screen instructions to complete the installation.

Step 2: Install Alacritty

Next, we will install Alacritty using Homebrew:

  1. In your Terminal, execute:
    brew install --cask alacritty
    

Step 3: Install Git

Git is essential for version control. Install it with the following command:

brew install git

Step 4: Install Nerd Font

To enhance your terminal's appearance, install a nerd font:

  1. Run this command in your Terminal:
    brew tap homebrew/cask-fonts
    brew install --cask font-hack-nerd-font
    

Step 5: Create Config File

You need a configuration file for Alacritty:

  1. Create a new file using:
    nano ~/.config/alacritty/alacritty.yml
    
  2. Add your desired configurations to this file.

Step 6: Window Configuration

Customize your Alacritty window settings:

  1. In your alacritty.yml, specify dimensions and other window settings like so:
    window:
      dimensions:
        columns: 120
        lines: 30
    

Step 7: Font Configuration

Set the font to the Nerd Font you installed:

  1. Add the following to your alacritty.yml:
    font:
      normal:
        family: 'Hack Nerd Font'
        style: Regular
    

Step 8: Enable True Colors for Tmux

To enable true colors in Tmux, add this line to your Tmux configuration (~/.tmux.conf):

set -g default-terminal "screen-256color"

Step 9: Setup p10k Theme

To use the Powerlevel10k theme for Zsh, install it with Git:

  1. Clone the repository:
    git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ~/powerlevel10k
    
  2. Add the following line to your ~/.zshrc:
    source ~/powerlevel10k/powerlevel10k.zsh-theme
    

Step 10: Setup Theme Colors

Configure your Alacritty theme colors in alacritty.yml. You can find color schemes online or customize your own.

Step 11: Improve History Completion

To enhance history completion, you can modify your Zsh configuration. Add this to your ~/.zshrc:

HISTSIZE=10000
SAVEHIST=10000

Step 12: Install zsh-autosuggestions

This plugin suggests commands as you type:

  1. Clone the repository:
    git clone https://github.com/zsh-users/zsh-autosuggestions.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
    
  2. Add zsh-autosuggestions to your plugins in ~/.zshrc.

Step 13: Install zsh-syntax-highlighting

For syntax highlighting in your commands, install this plugin:

  1. Clone the repository:
    git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
    
  2. Add zsh-syntax-highlighting to your plugins in ~/.zshrc.

Step 14: Install eza

eza is a modern replacement for ls. Install it using Homebrew:

brew install eza

Step 15: Install zoxide

For an improved directory navigation experience, install zoxide:

brew install zoxide

Step 16: Setup Tmux

Finally, if you use Tmux, set it up by creating a ~/.tmux.conf file with your desired configurations.

Conclusion

You have now transformed your macOS Terminal into a powerful and visually appealing tool using Alacritty. Remember to customize your configuration files as per your preferences. For further enhancements, explore additional plugins and themes. Happy coding!