← Back to home
Comparison · Infra & APIs

cli vs usethis

A side-by-side editorial comparison of cli and usethis — release velocity, themes, recent moves, and the top alternatives to consider.

Shared themes:formatting

cli vs usethis: at a glance

Featurecliusethis
SectorInfra & APIsInfra & APIs
Velocity score0.00.0
Sparks · 30d00
Top themesr, cli, terminal-output, formattingdeveloper-tooling, quarto, positron, formatting
Last editorial update2h ago52m ago
WebsiteVisit →Visit →

What is cli?

cli refines terminal output one formatting detail at a time.

cli builds the formatted terminal output used across r-lib and the tidyverse — inline styles, progress bars, hyperlinks, pluralization. Every release in this window is small and specific: number and byte styles, pluralization that copes with NA and infinities, collapse behaviour that obeys serial comma rules.

Read the full cli trajectory →

What is usethis?

usethis swaps in the Air formatter and stops assuming RStudio is the editor

usethis is the tidyverse's project-scaffolding tool and, unlike much of the r-lib cohort, is still actively developed. Recent work moves it off its own assumptions: the cli package replaced its homegrown UI layer in 3.0.0, and 3.2.0 replaced tidy-style formatting with Air while widening what counts as a project root.

Read the full usethis trajectory →

cli vs usethis: editorial side-by-side

C
cli
INFRA · APIS
0.0

cli refines terminal output one formatting detail at a time.

◆ Current state

cli builds the formatted terminal output used across r-lib and the tidyverse — inline styles, progress bars, hyperlinks, pluralization. Every release in this window is small and specific: number and byte styles, pluralization that copes with NA and infinities, collapse behaviour that obeys serial comma rules.

◆ Where it's heading

The work splits in two. One half is expressiveness, adding inline style classes for value types packages format constantly. The other is environment compatibility, where cli must work out what the surrounding terminal or IDE actually supports — hyperlink URI generation became configurable rather than fixed, and hyperlinks are disabled where the host renders them badly.

◆ Prediction

Expect more inline style classes and further environment detection work as editors like Positron and RStudio change how they render terminal output.

U
usethis
INFRA · APIS
0.0

usethis swaps in the Air formatter and stops assuming RStudio is the editor

◆ Current state

usethis is the tidyverse's project-scaffolding tool and, unlike much of the r-lib cohort, is still actively developed. Recent work moves it off its own assumptions: the cli package replaced its homegrown UI layer in 3.0.0, and 3.2.0 replaced tidy-style formatting with Air while widening what counts as a project root.

◆ Where it's heading

The direction is de-RStudio-ing. Project detection now recognizes a VS Code settings file, a Quarto config, or an renv lockfile; use_course() opens folders in Positron as readily as RStudio; Quarto is a first-class vignette and project format. usethis is being rebuilt around the editor and format plurality that has grown up around R, and the pre-3.0 RStudio-and-styler era is being deprecated out.

◆ Prediction

Expect Quarto and Positron support to keep filling in - create_quarto_project() is still flagged experimental - and further deprecation of the RStudio-specific and styler-era helpers.

Alternatives to cli and usethis

Other Infra & APIs products tracked by Sparkpulse, ranked by recent ship velocity. Each card links to a full editorial trajectory and lets you pivot into a head-to-head comparison with either cli or usethis.

See all cli alternatives → · See all usethis alternatives →

Recent activity from cli and usethis

Latest ship moves from both products, interleaved chronologically. ⚡ = editorial spark.

  1. 4mo agoclicli 3.6.6 adds inline number and byte formatting styles
  2. 11mo agousethiscreate_quarto_project() exits early without the Quarto CLI
  3. 11mo agousethisuse_air() adopts the Air formatter; project detection widens
  4. 1y agoclicli 3.6.5 handles long strings in code_highlight()
  5. 1y agoclicli 3.6.4 makes hyperlink URIs configurable
  6. 1y agousethisuse_vignette() and use_article() support Quarto
  7. 2y agousethisUI moves to cli; Travis and AppVeyor helpers removed
  8. 2y agoclicli 3.6.3 builds on ARM Windows, fixes RStudio highlighting
  9. 2y agousethisCRAN-requested documentation fixes
  10. 2y agoclicli 3.6.2 makes collapsed strings follow serial comma rules
  11. 3y agousethisVersion comparisons always pass character input
  12. 3y agoclicli 3.6.1 disables ANSI hyperlinks on the RStudio render plane

Frequently asked questions

What is the difference between cli and usethis?

Both compete on the same themes — formatting — within Infra & APIs. cli and usethis are shipping at a similar cadence (velocity 0.0 vs 0.0, both within Sparkpulse's "active" band). See the at-a-glance table above for a side-by-side breakdown of velocity, recent sparks, and editorial themes.

Is cli better than usethis?

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. cli and usethis are shipping at a similar cadence (velocity 0.0 vs 0.0, both within Sparkpulse's "active" band). For your specific use case, the alternatives sections above list other Infra & APIs products to evaluate alongside.

What are the best alternatives to cli?

Top cli alternatives in Infra & APIs are ranked by recent ship velocity. Browse the "cli alternatives" section above for the current picks, or visit /alternatives/cli-r for the full list with editorial commentary on each.

What are the best alternatives to usethis?

Top usethis alternatives in Infra & APIs are ranked by recent ship velocity. Browse the "usethis alternatives" section above for the current picks, or visit /alternatives/usethis for the full list with editorial commentary on each.