Skip to content

cli

3.6.6

Helpers for Developing Command Line Interfaces

1,779packages depend
24.4Mdownloads / year
75.6%test coverage
13/13checks pass

Overview

About
Maintained by Gábor CsárdiFirst published 2017-11-0529 releasesCRAN page ↗GitHub ↗

A suite of tools to build attractive command line interfaces ('CLIs'), from semantic elements: headings, lists, alerts, paragraphs, etc. Supports custom themes via a 'CSS'-like language. It also contains a number of lower level 'CLI' elements: rules, boxes, trees, and 'Unicode' symbols with 'ASCII' alternatives. It support ANSI colors and text styles as well.

Install

Health

CRAN checks
13OK
Slowest check: 5.4 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 1.09
75.6%
Coverage · measured lines
100%
Documentation · exports
1
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-07-11
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-07-10
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-07-03
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Show 22 earlier snapshots
  • ERROR2026-06-24
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-06-15
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-13
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 1 FAILURE
  • ERROR2026-06-06
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-05-24
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-05-14
    11 OK · 0 NOTE · 0 WARNING · 2 ERROR · 0 FAILURE
  • OK2026-05-11
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-05-10
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-05-08
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-05-04
    11 OK · 0 NOTE · 0 WARNING · 2 ERROR · 0 FAILURE
  • OK2026-04-30
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-28
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-04-24
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-16
    13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • WARNING2026-03-31
    8 OK · 0 NOTE · 6 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-03-28
    9 OK · 1 NOTE · 3 WARNING · 1 ERROR · 0 FAILURE
  • WARNING2026-03-25
    9 OK · 2 NOTE · 3 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-03-22
    8 OK · 4 NOTE · 1 WARNING · 1 ERROR · 0 FAILURE
  • WARNING2026-03-21
    9 OK · 4 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-03-17
    13 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 348 wordsVignettesNopkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
98%
Documented parameters
96%
Return-value docs
69%
References docs
0%

Downloads

24.4M
CRAN downloads in the past year
Rank #4 · ~66.9K/day · ~2M/mo
Daily download trend is not available in this view yet.
2.2M30 days
6.5M90 days
24.4M1 year
Compare downloads with other packages →
Also on272K r2u174 autocran2M conda_forge6.5K c2d4u

Repository

Repository
719Stars
87Forks
110Open issues
20Open PRs
27Releases
1,736Commits
53Contributors
rcli
1,736 commits · Last activity 2026-06-05 · +0.3% stars, 30d

Stars over time

2025-08-07 · 6702026-08-04 · 719

Repository practices

Upstream repositoryBeta

7 development-tooling and community-health practices detected across 5 families in the upstream repository

Checks run against github.com/r-lib/cli on 2026-08-09.

Continuous integration (1)
GitHub Actions
Reproducibility and dev environment (1)
Makefile
Docs source (1)
README.Rmd
Lint, format, editor (3)
AirVS CodeRStudio project
Show all practices
Coverage (1)
Codecov
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
18 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.4
Imports (1)
utils
LinkingTo (0)
none
Enhances (0)
none

Code & Tests

People & History

People (5)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Contributors (3)
Contributor · added in 3.6.2
Contributor
Contributor
Copyright holders (1)
Copyright holder, Funder · added in 3.6.2
Funders (1)
Copyright holder, Funder · added in 3.6.2
Listed in earlier versions (1)
no longer listed · 2.3.0 to 1.0.2
Package Timeline

29 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 3.6.6Latest
    2026-04-09 · current release · diff ↗
  • 3.6.5
    2025-04-23 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 3.6.4
    2025-02-13 · diff ↗
  • 3.6.3
    2024-06-21 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 3.6.2
    2023-12-11 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 1.0.2
    2023-03-23 · diff ↗
  • 3.6.1
    2023-03-23 · diff ↗
  • 3.6.0
    2023-01-09 · diff ↗
  • 3.5.0
    2022-12-20 · diff ↗
  • 3.4.1
    2022-09-23 · diff ↗
  • 3.4.0
    2022-09-08 · diff ↗
  • 3.3.0
    2022-04-25 · diff ↗
Show 23 earlier events
  • R
    R 4.2.0 released · 2022-04-22
  • 3.2.0
    2022-02-14 · diff ↗
  • 3.1.1
    2022-01-20 · diff ↗
  • 3.1.0
    2021-10-27 · diff ↗
  • 3.0.1
    2021-07-17 · diff ↗
  • 3.0.0
    2021-06-30 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 2.5.0
    2021-04-26 · diff ↗
  • 2.4.0
    2021-04-05 · diff ↗
  • 2.3.1
    2021-02-23 · diff ↗
  • 2.3.0
    2021-01-31 · diff ↗
  • 2.2.0
    2020-11-20 · diff ↗
  • 2.1.0
    2020-10-12 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 2.0.2
    2020-02-28 · diff ↗
  • 2.0.1
    2020-01-09 · diff ↗
  • 2.0.0
    2019-12-09 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 1.1.0
    2019-03-19 · diff ↗
  • 1.0.1
    2018-09-25 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 1.0.0
    2017-11-05
  • R
    R 3.4.0 released · 2017-04-21

Package metadata

First published
2017-11-05
Total releases
29 / 9 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 3.4
Download size
625 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("cli")
Csárdi, G., Posit Software, PBC, Brüggemann, S., Müller, K., & Wickham, H. (2026). cli: Helpers for Developing Command Line Interfaces (Version 3.6.6) [Computer software]. https://doi.org/10.32614/CRAN.package.cli

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for cli version 3.6.6 [Data set]. HJJB, LLC. Data release v2026-08-15. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-15, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy