Draw ASCII Boxes Around Text With boxes
Wrap text or code comments in decorative ASCII frames.
Run echo "text" | boxes -d parchment to surround the text with an ASCII box.
01Command
Command
$ echo "cmdcv" | boxes -d parchment02What it does
boxes is a filter that reads text and draws a chosen design around it, which is popular for source-code comment banners and READMEs. List the available designs with boxes -l and choose one with -d. It can also remove an existing box using -r.
03Risk
!Warning: Some wide designs assume a fixed width; check the result before committing it into source files.
04Undo
✓No undo needed — this command does not change persistent state.
05Sources
- Homebrew formula: boxesEvidence: Installs boxes, a filter that draws ASCII boxes around text.
- boxes — command line ASCII boxesEvidence: Official boxes site documenting designs and usage.
Last verified: 2026-09-20 · Category: Developer
06Related solutions
The sl Steam Locomotive Easter Egg
Typing sl instead of ls sends a train across your terminal.
Change where screenshots are saved on Mac
Point macOS screen captures at any folder you choose instead of the desktop.
Download a file from a URL on Mac with curl
Grab any file from the web straight into the current folder — no browser needed.