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.
Safe staging for this asset
This asset is staged first. The copied prompt tells the agent to inspect the staged files and ask before activating scripts, MCP config, or global config.
npx -y tokrepo@latest install ce6e1914-3651-11f1-9bc6-00163e2b0d79 --target codexStages files first; activation requires review of the staged README and plan.
What it is
Glow is a terminal-based Markdown reader built by Charmbracelet. It renders Markdown files with syntax highlighting, word wrapping, and configurable themes directly in your terminal. It also features a stash system for bookmarking and organizing Markdown files.
Glow targets developers who read documentation, README files, and notes in the terminal. It is part of the Charmbracelet ecosystem of terminal UI tools written in Go.
How it saves time or tokens
Glow removes the need to switch to a browser or GUI editor to read Markdown files. Instead of opening a README in GitHub or VS Code, you run glow README.md and get a formatted, readable view instantly. The stash feature lets you bookmark frequently referenced documents for quick access. Piping support means you can pipe Markdown content from other commands (curl, cat, git show) directly into Glow for formatted display.
How to use
- Install Glow:
brew install glow # macOS
go install github.com/charmbracelet/glow@latest
sudo apt install glow # Debian/Ubuntu
- Render a Markdown file:
glow README.md
glow -p README.md # Pager mode
- Render from a URL or pipe:
glow https://raw.githubusercontent.com/org/repo/main/README.md
curl -s https://example.com/doc.md | glow -
Example
Using Glow with git to read commit messages and documentation:
# Read a specific file from a git branch without checkout
git show main:docs/architecture.md | glow -
# Browse all Markdown files in a directory
glow docs/
# Stash a frequently used document
glow stash README.md
# List stashed documents
glow stash list
# Use a dark theme
glow -s dark README.md
# Set default style in config
mkdir -p ~/.config/glow
echo 'style: "dark"' > ~/.config/glow/glow.yml
Related on TokRepo
- Coding tools — More developer tools and CLI utilities on TokRepo.
- Documentation tools — Browse documentation viewing and authoring tools.
Common pitfalls
- Glow's default terminal width may truncate wide tables. Use the -w flag to set a specific width or maximize your terminal window.
- The stash feature requires a Charm account for cloud sync. For local-only usage, stashing works without an account but does not sync across machines.
- Some Markdown extensions (custom HTML, advanced tables) may not render perfectly. Glow follows standard CommonMark with GFM extensions.
Frequently Asked Questions
Yes. Glow renders code blocks with syntax highlighting based on the language identifier. It supports all common programming languages and uses the Glamour rendering library under the hood.
Yes. Pass a raw Markdown URL directly to Glow and it fetches and renders it. This works with GitHub raw content URLs, GitLab, and any publicly accessible Markdown file.
Glow ships with dark and light themes. You can set the theme per invocation with the -s flag or set a default in ~/.config/glow/glow.yml. Custom themes can be created using the Glamour style system.
The stash is a bookmark system for Markdown files. You can save frequently referenced documents and access them quickly. With a Charm account, stashed documents sync across machines.
Yes. Glow is built by Charmbracelet, which also makes Bubble Tea (TUI framework), Lip Gloss (terminal styling), and other Go-based terminal tools. Glow uses their Glamour Markdown rendering library.
Citations (3)
- Glow GitHub— Glow is a terminal Markdown reader by Charmbracelet
- Charmbracelet— Charmbracelet terminal UI ecosystem
- CommonMark— CommonMark Markdown specification
Related on TokRepo
Discussion
Related Assets
Glamour — Stylesheet-Based Markdown Rendering for CLI Apps
A Go library from Charm for rendering markdown in terminal applications with customizable stylesheets, ANSI color support, and word wrapping.
GitHub CLI (gh) — GitHub Official Command Line Tool
GitHub CLI brings GitHub to your terminal. Create PRs, manage issues, review code, run Actions, browse releases — without leaving the command line. Written in Go and the official cross-platform tool from GitHub.
Lark CLI Skill: Whiteboard — Chart & DSL Rendering
Lark/Feishu CLI skill for whiteboards. Render charts and diagrams using DSL-based whiteboard creation.
App Store Connect CLI — Scriptable CLI for Apple App Distribution
App Store Connect CLI is a fast, JSON-first command-line tool for automating Apple App Store Connect workflows. It handles TestFlight builds, submissions, signing, analytics, and subscriptions without interactive prompts.