# @oclif/plugin-which

> find which plugin a command is in

Latest version **4.0.0** (published 2026-08-31) · MIT license · 0 weekly downloads

## Install

```sh
npm install @oclif/plugin-which
pnpm add @oclif/plugin-which
yarn add @oclif/plugin-which
bun add @oclif/plugin-which
```

## Health

**Score 60/100 (C)** — status: active.

Positive: esm support; no vulnerabilities; recently updated; high maintenance score.

Warnings: low downloads; no types.

## Facts

| | |
|---|---|
| Version | 4.0.0 |
| Published | 2026-08-31 |
| First published | 2018-05-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM |
| Node | >=22.0.0 |
| Dependencies | 2 |
| Unpacked size | 8.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 7 |
| Author | Salesforce |
| Maintainers | jimjag, salesforce-releases |
| Keywords | oclif-plugin |

## Links

- npm: https://www.npmjs.com/package/@oclif/plugin-which
- Repository: https://github.com/oclif/plugin-which
- Issues: https://github.com/oclif/plugin-which/issues
- npm.io page: https://npm.io/package/@oclif/plugin-which

## Dependencies (2)

- [ansis](https://npm.io/package/ansis.md) ^3.17.0
- [@oclif/core](https://npm.io/package/@oclif/core.md) ^5.0.0

## Alternatives

- [@salesforce/cli](https://npm.io/package/@salesforce/cli.md) — 389.7K weekly downloads
- [@mintlify/cli](https://npm.io/package/@mintlify/cli.md) — 208.9K weekly downloads
- [@grafana/e2e-selectors](https://npm.io/package/@grafana/e2e-selectors.md) — 128.7K weekly downloads
- [mintlify](https://npm.io/package/mintlify.md) — 112.0K weekly downloads
- [@intlayer/cli](https://npm.io/package/@intlayer/cli.md) — 22.8K weekly downloads

## Recent versions

- 4.0.0 (latest) — 2026-08-31
- 3.3.0 — 2026-08-24
- 3.2.61 — 2026-08-09
- 3.2.60 — 2026-08-02
- 3.2.59 — 2026-07-26
- 3.2.58 — 2026-06-28
- 3.2.57 — 2026-06-21
- 3.2.56 — 2026-06-21
- 3.2.55 — 2026-05-24
- 3.2.54 — 2026-05-17
- 3.2.53 — 2026-05-10
- 3.2.52 — 2026-05-09
- 3.2.51 — 2026-05-03
- 3.2.50 — 2026-04-26
- 3.2.49 — 2026-04-05
- … 124 more at https://npm.io/package/@oclif/plugin-which/versions

## README

# @oclif/plugin-which

find which plugin a command is in

[![Version](https://img.shields.io/npm/v/@oclif/plugin-which.svg)](https://npmjs.org/package/@oclif/plugin-which)
[![Downloads/week](https://img.shields.io/npm/dw/@oclif/plugin-which.svg)](https://npmjs.org/package/@oclif/plugin-which)
[![License](https://img.shields.io/npm/l/@oclif/plugin-which.svg)](https://github.com/oclif/plugin-which/blob/main/package.json)

<!-- toc -->
* [@oclif/plugin-which](#oclifplugin-which)
* [Usage](#usage)
* [Commands](#commands)
* [Contributing](#contributing)
<!-- tocstop -->

# Usage

<!-- usage -->
```sh-session
$ npm install -g @oclif/plugin-which
$ oclif-example COMMAND
running command...
$ oclif-example (--version)
@oclif/plugin-which/4.0.0 linux-x64 node-v24.19.0
$ oclif-example --help [COMMAND]
USAGE
  $ oclif-example COMMAND
...
```
<!-- usagestop -->

# Commands

<!-- commands -->
* [`oclif-example which`](#oclif-example-which)

## `oclif-example which`

Show which plugin a command is in.

```
USAGE
  $ oclif-example which [--json]

GLOBAL FLAGS
  --json  Format output as json.

DESCRIPTION
  Show which plugin a command is in.

EXAMPLES
  See which plugin the `help` command is in:

    $ oclif-example which help

  Use colon separators.

    $ oclif-example which foo:bar:baz

  Use spaces as separators.

    $ oclif-example which foo bar baz

  Wrap command in quotes to use spaces as separators.

    $ oclif-example which "foo bar baz"
```

_See code: [src/commands/which.ts](https://github.com/oclif/plugin-which/blob/4.0.0/src/commands/which.ts)_
<!-- commandsstop -->

# Contributing

See [contributing guide](./CONRTIBUTING.md)

---
_Source: https://npm.io/package/@oclif/plugin-which · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
