This guide ensures your terminal displays all icons and symbols correctly with Powerlevel10k.
Powerlevel10k requires a Nerd Font to display icons properly. Without it, you'll see question marks or broken symbols in your prompt.
The required font is included in the Brewfile and will be installed automatically:
brew bundle installIf you need to install the font manually:
brew install --cask font-meslo-lg-nerd-fontAfter installing the font, you need to configure your terminal to use it.
- Open iTerm2 Preferences (
⌘,) - Go to Profiles → Text
- Click Change Font
- Select MesloLGS NF or MesloLGS Nerd Font
- Set size to 12-14pt (adjust to preference)
- Restart iTerm2
- Open Terminal Preferences (
⌘,) - Go to Profiles
- Select your profile and click Font
- Choose MesloLGS NF Regular
- Set size to 12-14pt
- Close and reopen Terminal
- Open Warp Settings (
⌘,) - Go to Appearance → Text
- Under Font, select MesloLGS NF
- Adjust size as needed
- Changes apply immediately
Add to your VS Code settings.json:
{
"terminal.integrated.fontFamily": "MesloLGS NF",
"terminal.integrated.fontSize": 13
}Or via UI:
- Open Settings (
⌘,) - Search for "terminal font"
- Set Terminal › Integrated: Font Family to
MesloLGS NF
- Open Zed Settings (
⌘,) - Add to your settings:
{
"terminal": {
"font_family": "MesloLGS NF",
"font_size": 13
}
}- Open Windsurf Settings
- Navigate to Terminal settings
- Set font to MesloLGS NF
After configuring your terminal, verify the font is working:
echo "✓ Check ✗ Error ⚡ Power → Arrow ± Plus/Minus"You should see all symbols clearly without any question marks.
If you haven't configured Powerlevel10k yet:
p10k configureThis will walk you through prompt customization. When asked about font installation, you can skip it since we've already installed MesloLGS NF.
-
Verify font installation:
ls ~/Library/Fonts | grep -i meslo
-
Restart your terminal completely (Quit and reopen, not just close window)
-
Clear font cache (if needed):
sudo atsutil databases -remove sudo atsutil server -shutdown sudo atsutil server -ping
-
Check terminal encoding: Ensure UTF-8 encoding is set in terminal preferences
The exact font name might vary:
- MesloLGS NF
- MesloLGS Nerd Font
- MesloLGS NF Regular
- MesloLGSNerdFont-Regular
Try different variations if one doesn't work.
Adjust the font size in your terminal settings. Typically 12-14pt works well, but this depends on your display and preferences.
If you prefer different fonts that also work with Powerlevel10k:
# JetBrains Mono
brew install --cask font-jetbrains-mono-nerd-font
# Fira Code (already in Brewfile)
brew install --cask font-fira-code-nerd-font
# Hack
brew install --cask font-hack-nerd-fontJust remember to configure your terminal to use the font you've installed.