# Install chalk-cli with Homebrew, Nix

Terminal string styling done right. Version 6.0.0 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:chalk-cli
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install chalk-cli
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#chalk
```

  Evidence: nixpkgs package indexes: pkgs/by-name/ch/chalk/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:chalk-cli
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/chalk-cli>
- **Version:** 6.0.0
- **Source summary:** Terminal string styling done right
- **Homepage:** <https://github.com/chalk/chalk-cli>
- **Repository:** <https://github.com/chalk/chalk-cli>
- **Upstream docs:** <https://github.com/chalk/chalk-cli#readme>
- **License:** MIT
- **Source archive:** <https://registry.npmjs.org/chalk-cli/-/chalk-cli-6.0.0.tgz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- chalk (cli)
- chalk (alias)

## Dependencies

- node

## Install behavior

- Post-install hook: not defined
- Bottle: available on all

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 6.0.0
- Local data: ok
- Upstream repository: https://github.com/chalk/chalk-cli
- info: No package-manager update timestamp was available.
- info: No cached GitHub release or tag data was available.
## Project history and usage

chalk-cli is the command-line wrapper for Chalk-style terminal text formatting. It lets shell users apply ANSI color and style formatting to arguments or standard input without writing a Node.js script.

### Project history

The GitHub repository and npm package were created in July 2015. The README presents it as terminal string styling for the command line and points users to the main chalk package for supported styles.

GitHub releases show a v5 line in 2021 and 2023, followed by v6.0.0 in 2025.

### Adoption history

The package is published on npm as chalk-cli, and the Homebrew input identifies a Homebrew formula plus a Nix package mapping. Its adoption mostly follows the larger Chalk ecosystem rather than a separate application ecosystem.

### How it is used

The CLI accepts one or more styles plus a string, or it can read piped input with --stdin. It also supports style templates and a demo mode for showing available Chalk styles.

### Why package nerds care

chalk-cli is a small but tidy example of a JavaScript library becoming a Unix-style command. It matters to package nerds because it turns a popular Node terminal-formatting API into a composable shell filter.

### Timeline

- 2015: GitHub repository and npm package created.
- 2021: v5.0.0 release published on GitHub.
- 2023: v5.0.1 release published.
- 2025: v6.0.0 release published.

### Related projects

- chalk/chalk is the API package that chalk-cli wraps and the README links for supported styles.

### Sources

- <https://github.com/chalk/chalk-cli#readme>
- <https://github.com/chalk/chalk-cli/releases>
- <https://api.github.com/repos/chalk/chalk-cli>
- <https://registry.npmjs.org/chalk-cli>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** chalk-cli
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- Nix - chalk: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/ch/chalk/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [node](https://www.automicvault.com/pkg/brew/node/) - Runtime dependency declared by Homebrew.
- [fx](https://www.automicvault.com/pkg/brew/fx/) - Shares av.db curated category or tags: cli, developer-tools, javascript, terminal.
- [chars](https://www.automicvault.com/pkg/brew/chars/) - Shares av.db curated category or tags: cli, developer-tools, terminal.
- [chatblade](https://www.automicvault.com/pkg/brew/chatblade/) - Shares av.db curated category or tags: cli, developer-tools, terminal.
- [ddgr](https://www.automicvault.com/pkg/brew/ddgr/) - Shares av.db curated category or tags: cli, developer-tools, terminal.
- [figlet](https://www.automicvault.com/pkg/brew/figlet/) - Shares av.db curated category or tags: cli, developer-tools, terminal.
- [fzf](https://www.automicvault.com/pkg/brew/fzf/) - Shares av.db curated category or tags: cli, developer-tools, terminal.
- [fzy](https://www.automicvault.com/pkg/brew/fzy/) - Shares av.db curated category or tags: cli, developer-tools, terminal.
- [halp](https://www.automicvault.com/pkg/brew/halp/) - Shares av.db curated category or tags: cli, developer-tools, terminal.
- [gulp-cli](https://www.automicvault.com/pkg/brew/gulp-cli/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, javascript, node.
- [ncc](https://www.automicvault.com/pkg/brew/ncc/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, javascript, node.
- [nuxi](https://www.automicvault.com/pkg/brew/nuxi/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, javascript, node.

## Combined YAML source

View the package source record on GitHub. [combined/chalk-cli.yml](https://github.com/automic-vault/db/blob/main/combined/chalk-cli.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
