Skip to content

Freeze

Charm’s screenshot tool for code and for ANSI terminal output, including SVG.

Homebrew formula

What it does

Freeze renders code or captured terminal output to PNG, SVG or WebP, with window chrome, padding, margins, shadows and themes controlled by flags or a config file. Unlike silicon it understands ANSI escape sequences, so real command output keeps its colours.

freeze main.go -o code.png
freeze --execute "lsd --tree --depth 2" -o tree.svg
freeze --theme dracula --window --border.radius 8 hugo.yaml

Notes

Available from the charmbracelet/tap tap. SVG output is the interesting one for documentation — it stays sharp at any zoom and the text remains real text in the file.

Alternative to

AlternativeTypeTrade-off
siliconOpen sourceThe same job for source files, no ANSI support
carbon.now.sh or ray.soFreeWeb-based, no install
VHSOpen sourceCharm’s sibling tool, for motion rather than a still frame

Install

brew tap charmbracelet/tap
brew install charmbracelet/tap/freeze

Links

This post is licensed under CC BY 4.0 by the author.
Last updated on