chalk-cli
brew install chalk-cli
v6.0.0
MIT
Terminal string styling done right
19
30-day installs · #6967
63
90-day · #6698
331
365-day · #6084
297
★ GitHub stars · updated 1y ago
Runtime dependencies
Links
- https://github.com/chalk/chalk-cli
- GitHub: chalk/chalk-cli
- Brew formula source: Formula/c/chalk-cli.rb
Raw metadata
{
"aliases": [],
"alternatives": [],
"build_dependencies": [],
"categories": [],
"caveats": null,
"conflicts_with": [],
"dependencies": [
"node"
],
"deprecated": 0,
"deprecation_reason": null,
"desc": "Terminal string styling done right",
"disable_reason": null,
"disabled": 0,
"enrichment_fetched_at": "2026-06-20T23:36:18+00:00",
"first_seen": "2026-06-20T23:34:18+00:00",
"full_name": "chalk-cli",
"github_default_branch": "main",
"github_last_commit_at": "2025-05-01T09:25:10Z",
"github_readme_excerpt": "# chalk-cli [](https://www.npmjs.com/package/chalk-cli) [](https://repl.it/github/chalk/chalk-cli)\n\n\u003e Terminal string styling done right\n\n\u003cimg src=\"screenshot.png\" width=\"631\"\u003e\n\n## Install\n\n```sh\nnpm install --global chalk-cli\n```\n\n## Usage\n\n```\n$ chalk --help\n\n Usage\n $ chalk \u003cstyle\u003e ... \u003cstring\u003e\n $ echo \u003cstring\u003e | chalk \u003cstyle\u003e ...\n\n Options\n --template, -t Style template. The `~` character negates the style.\n --stdin Read input from stdin rather than from arguments.\n --no-newline, -n Don\u0027t emit a newline (`\\n`) after the input.\n --demo Demo of all Chalk styles.\n --color, -c Force color support.\n\n Examples\n $ chalk red bold \u0027Unicorns \u0026 Rainbows\u0027\n $ chalk -t \u0027{red.bold Unicorns \u0026 Rainbows}\u0027\n $ chalk -t \u0027{red.bold Dungeons and Dragons {~bold.blue (with added fairies)}}\u0027\n $ echo \u0027Unicorns from stdin\u0027 | chalk --stdin red bold\n```\n\nSee [supported styles](https://github.com/chalk/chalk#styles).\n\n## Template syntax\n\n- `{red.bold unicorn}`\n- `{red.bold unicorns} are {blue FUN!!!}`\n- `{red.bold unicorn {blue.underline dancing}}`\n- `{red red {~red normal}}`\n- `{red hey\\} still red} not red`\n- `{red hey\\\\} not red`\n\n## Related\n\n- [chalk](https://github.com/chalk/chalk) - API for this package\n\n## Maintainers\n\n- [Sindre Sorhus](https://github.com/sindresorhus)\n- [Josh Junon](https://github.com/qix-)\n",
"github_repo": "chalk/chalk-cli",
"github_stars": 297,
"github_topics": [],
"homepage": "https://github.com/chalk/chalk-cli",
"homepage_og_description": null,
"homepage_og_image": null,
"homepage_title": null,
"installs_30d": 19,
"installs_365d": 331,
"installs_90d": 63,
"keg_only": 0,
"keg_only_reason": null,
"last_seen": "2026-06-20T23:34:18+00:00",
"license": "MIT",
"llm_generated_at": null,
"llm_model": null,
"name": "chalk-cli",
"oldnames": [],
"one_liner": null,
"optional_dependencies": [],
"rank_30d": 6967,
"rank_365d": 6084,
"rank_90d": 6698,
"raw_hash": "5ae872188aae67fd",
"recommended_dependencies": [],
"revision": 0,
"ruby_source_path": "Formula/c/chalk-cli.rb",
"tap": "homebrew/core",
"test_dependencies": [],
"uses_from_macos": [],
"version_head": null,
"version_stable": "6.0.0",
"versioned_formulae": [],
"why_use_this": null
}