# oclif/oclif

CLI for generating, building, and releasing oclif CLIs. Built by Salesforce.

Repository: https://github.com/oclif/oclif
Canonical: https://ross.abutalabs.com/products/oclif
Homepage: https://oclif.io
Language: TypeScript
License: MIT
License Family: permissive
Topics: nodejs, oclif, cli, typescript
Last push: 2026-08-24T17:22:09+00:00

## Health v2 (maintenance only)
Score: 95/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 99, release rhythm 87, longevity 100
- inputs: {"age_days": 3156, "days_push": 9, "days_rel": 9, "gap_med": 0, "n_releases_24m": 242}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 9581, forks 362 (observed 2026-08-28T04:10:35.915670+00:00)

## What it is
oclif is an open-source framework for building command-line interfaces in Node.js and TypeScript, created by Salesforce. This repository contains the oclif CLI itself, which scaffolds, builds, tests, and packages oclif-based CLIs and plugins.

## Use cases
- build a cli in nodejs
- scaffold a new command line tool project
- create a cli with subcommands and flags
- package and release a cli for macos windows and linux
- make an extensible cli with plugins
- auto-generate documentation for cli commands

## When to choose
- you are building a serious CLI in Node.js or TypeScript and want battle-tested tooling
- you need plugin extensibility, hooks, and auto-generated help out of the box
- you want to package and distribute native installers (deb, macos, win) for your CLI

## When to avoid
- you need a CLI in a language other than JavaScript/TypeScript
- you want a minimal zero-dependency script rather than a full framework
- you are building a GUI or web application rather than a command-line tool

## Facets
- artifact type: framework
- maturity: active
- function: cli, developer-tools, plugin-system, templating, documentation
- domain: developer-tools, web-development
- platform: cli, cross-platform
- tags: cli-framework, scaffolding, typescript, salesforce, command-parsing, cli-generator, command-line, nodejs

## Member repositories
- oclif/oclif (main) score 95

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:35.915670+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:21:55.255243+00:00, confidence not recorded.
  - readme: https://github.com/oclif/oclif (fetched 2026-08-28T04:10:35.915670+00:00, sha 41363d2c0323)
  - homepage: https://oclif.io (fetched 2026-08-29T08:21:53.419025+00:00, sha 8361500beba0)
  - site_page: https://oclif.io/docs/introduction (fetched 2026-08-29T08:21:53.428038+00:00, sha 313ada8aa908)
  - site_page: https://oclif.io/docs/api_reference (fetched 2026-08-29T08:21:53.430208+00:00, sha e91808f71885)
- Data as of 2026-08-30T08:39:29.467469+00:00.
