shml
agent-ready non-interactive
SHell Markup Language | Style Framework for The Terminal
How to install shml
npm install -g shml shml use case
Add ANSI color, formatting, and emoji/icons to shell script output for improved readability.
When to use shml
- Creating colorful and styled CLI output in bash scripts
- Adding emoji or icon indicators to terminal messages
- Simplifying complex ANSI escape sequences in shell development
When not to use shml
- When output is consumed programmatically and raw text is preferred
- When working in a non-shell environment (e.g., Python, Node.js) that has its own styling libraries
shml features
- · Functions for foreground and background colors
- · Emoji and icon support
- · Text formatting (bold, underline, etc.)
- · Lightweight shell library sourced into scripts
Want your agent to find this automatically?
Add the MCP server to your agent config and it will discover tools like shml on its own.
Set up MCP →