FORMULAv0.8.0
zsh-syntax-highlighting for macOS
Fish shell like syntax highlighting for zsh
Installation on macOS (Apple Silicon & Intel)
brew install zsh-syntax-highlighting
Package Metadata
| Identifier | zsh-syntax-highlighting |
|---|---|
| Current Version | 0.8.0 |
| Tap Repository | homebrew/core |
| License | BSD-3-Clause |
| Upstream Homepage | https://github.com/zsh-users/zsh-syntax-highlighting |
| Last Verified | 2026-11-26T14:43:31Z |
Engineering Caveats
To activate the syntax highlighting, add the following at the end of your .zshrc: source $HOMEBREW_PREFIX/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh If you receive "highlighters directory not found" error message, you may need to add the following to your .zshenv: export ZSH_HIGHLIGHT_HIGHLIGHTERS_DIR=$HOMEBREW_PREFIX/share/zsh-syntax-highlighting/highlighters
Related macOS Packages
zsh-patinaBlazingly fast Zsh syntax highlighterzsh-system-clipboardSystem clipboard key bindings for Zsh Line Editor with vi modezsh-navigation-toolsZsh curses-based tools, e.g. multi-word history searcherzsh-vi-modeBetter and friendly vi(vim) mode plugin for ZSHzsh-loversTips, tricks, and examples for zshzsh-you-should-useZSH plugin that reminds you to use existing aliases for commands you just typedzsh-history-substring-searchZsh port of Fish shell's history searchzshdbDebugger for zsh