To cite package ‘cli’ in publications use:

Csárdi G (2026). cli: Helpers for Developing Command Line Interfaces. R package version 3.6.6, https://github.com/r-lib/cli.

Corresponding BibTeX entry:

  @Manual{,
    title = {cli: Helpers for Developing Command Line Interfaces},
    author = {Gábor Csárdi},
    year = {2026},
    note = {R package version 3.6.6},
    url = {https://github.com/r-lib/cli},
  }