Style Not Rendering Correctly
Problem: Colors or formatting look wrong
Solution: Glow attempts to auto-detect your terminal’s background color. You can manually specify a style:Problem: Custom style not loading
Solution: Ensure your custom JSON stylesheet exists and the path is correct:TUI Not Launching
Problem: TUI mode doesn’t start
Cause: When you provide a file argument, Glow uses CLI mode by default. Solution: Explicitly enable TUI mode:Problem: TUI crashes or displays incorrectly
Solution: Check your terminal emulator compatibility:- Ensure your terminal supports ANSI colors
- Try a different terminal emulator (kitty, iTerm2, Alacritty, etc.)
- Update your terminal emulator to the latest version
- Check if you’re using a terminal multiplexer (tmux/screen) and ensure it’s configured for 256 colors
Terminal Compatibility Issues
Problem: Characters rendering as boxes or question marks
Cause: Your terminal may not support Unicode or is using an incorrect locale. Solution:-
Check your locale:
-
Set UTF-8 locale if needed:
- Ensure your terminal font supports Unicode characters
Problem: Colors not displaying in tmux
Solution: Configure tmux for 256 colors. Add to~/.tmux.conf:
Configuration File Problems
Problem: Config file not found or not loading
Solution: Glow looks for config files in platform-specific locations:- Linux/BSD:
~/.config/glow/glow.yml - macOS:
~/Library/Application Support/glow/glow.yml - Windows:
%APPDATA%\glow\glow.yml
Problem: Configuration changes not taking effect
Solution:-
Verify the config file path:
- Ensure the YAML syntax is correct (proper indentation, no tabs)
- Command-line flags override config file settings - remove conflicting flags
Problem: Invalid config file format error
Cause: Glow only supports.yml or .yaml extensions.
Solution: Rename your config file to glow.yml:
Permission Errors
Problem: Permission denied when reading files
Solution:-
Check file permissions:
-
Ensure you have read access to the file:
Problem: Can’t create config directory
Solution: Manually create the config directory:GitHub/GitLab Fetching Issues
Problem: Can’t fetch README from GitHub/GitLab
Solution:- Check your internet connection
- Verify the repository exists and is public
- Try the full URL:
Problem: Rate limit errors from GitHub
Solution: Authenticate with GitHub to increase rate limits. Set up a personal access token and use environment variables or GitHub CLI authentication.Pager Issues
Problem: Pager not working
Solution: Set your$PAGER environment variable:
Performance Issues
Problem: Slow rendering with large files
Recommendations:- Use CLI mode instead of TUI for very large files
- Reduce the word-wrap width:
- Disable line numbers in TUI mode
How to Report Bugs
If you’ve tried the solutions above and still have issues, please report a bug:- Check existing issues: https://github.com/charmbracelet/glow/issues
-
Gather information:
- Glow version:
glow --version - Operating system and version
- Terminal emulator and version
- Shell (bash, zsh, fish, etc.)
- Locale:
echo $LANG
- Glow version:
-
Enable debug logging:
-
Create a minimal reproduction:
- Simplify the markdown file that causes the issue
- Note the exact command that triggers the problem
- Submit the issue: https://github.com/charmbracelet/glow/issues/new
Getting Help
Still stuck? Reach out to the community:- Discord: charm.sh/chat
- GitHub Discussions: github.com/charmbracelet/glow/discussions
- Twitter: @charmcli