Freeze
Charm’s screenshot tool for code and for ANSI terminal output, including SVG.
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.yamlNotes
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
| Alternative | Type | Trade-off |
|---|---|---|
| silicon | Open source | The same job for source files, no ANSI support |
| carbon.now.sh or ray.so | Free | Web-based, no install |
| VHS | Open source | Charm’s sibling tool, for motion rather than a still frame |
Install
brew tap charmbracelet/tap
brew install charmbracelet/tap/freeze