Chalk bills itself as “Terminal string styling done right”.
Chalk is mature, reliable, and built to last.
This is free and open source software.
Key Features
- Easy to use composable and expressive API.
- Highly performant.
- Well-documented types.
- No dependencies.
- Styles – good selection of modifiers, colors, background colors with the ability to nest styles.
- 256 colors and Truecolor (16 million colors) on supported terminal apps. Colors are downsampled from 16 million RGB values to an ANSI color format that is supported by the terminal emulator.
- Auto-detects color support.
- Doesn’t extend String.prototype.
- Clean and focused.
- Actively maintained.
- Covers edge cases that smaller alternatives miss
Website: github.com/chalk/chalk
Support:
Developer: Sindre Sorhus, Josh Junon
License: MIT License

Chalk is written in JavaScript and TypeScript. Learn JavaScript with our recommended free books and free tutorials. Learn TypeScript with our recommended free books and free tutorials.
Related Software
| Terminal String Styling Tools | |
|---|---|
| Rich | Python library for rich text and beautiful formatting |
| Chalk | Bills itself as “Terminal string styling done right” |
| picocolors | Tiny and fast library for terminal output formatting |
| yoctocolors | Small and fast command-line coloring package |
| yachalk | Clone of Chalk written in Python |
| kleur | Node.js library for formatting terminal text with ANSI colors |
| colorette | Set your terminal text color and styles |
| sty | String styling for your terminal |
| termcolor | ANSI color formatting for output in the terminal |
| colored | Simple Python library for color and formatting in terminal |
| ansicolors | ANSI colors for Python |
| ansi-colors | Add ANSI colors to terminal text |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.