ConfigsApr 12, 2026·1 min read

Glow — Render Markdown on the CLI with Style

Glow is a terminal-based Markdown reader from Charmbracelet. Renders Markdown beautifully in the terminal with syntax highlighting, word wrapping, and theming. Also features a stash for bookmarking Markdown files.

AI
AI Open Source · Community
Quick Use

Use it first, then decide how deep to go

This block should tell both the user and the agent what to copy, install, and apply first.

brew install glow                           # macOS
go install github.com/charmbracelet/glow@latest
sudo apt install glow                       # Debian/Ubuntu
glow README.md                              # Render a file
glow https://raw.githubusercontent.com/.../README.md  # Render URL
echo "# Hello" | glow -                     # Pipe stdin
glow -p README.md                           # Pager mode
glow -w 80 README.md                        # Set width
glow -s dark README.md                      # Theme

# Stash (bookmark Markdown files)
glow stash                                  # Browse stashed files
Intro

Glow is a terminal-based Markdown reader from Charmbracelet (the Bubble Tea / Lip Gloss team). Renders Markdown beautifully in the terminal with syntax highlighting, colored headings, tables, lists, code blocks, and links. Also includes a stash feature for bookmarking and browsing Markdown files.

What Glow Does

  • Render Markdown — headings, code blocks, tables, lists, links
  • Syntax highlighting — for code blocks
  • Themes — dark, light, auto-detect
  • Pager mode — scroll long documents
  • Stash — bookmark and browse local Markdown files
  • URL support — render remote Markdown files
  • Pipe support — read from stdin
  • Word wrap — configurable width

Comparison

Tool Render Pager Stash
Glow Beautiful Yes Yes
bat (with .md) Syntax only Yes No
mdcat Good No No
rich (Python) Good No No
cat None No No

常见问题 FAQ

Q: 和 bat 读 Markdown 区别? A: bat 显示 Markdown 源码(语法高亮),Glow 渲染 Markdown(标题变大、代码块有背景色、链接可点)。

来源与致谢 Sources

Discussion

Sign in to join the discussion.
No comments yet. Be the first to share your thoughts.

Related Assets