# @oclif/plugin-update

> [![Version](https://img.shields.io/npm/v/@oclif/plugin-update.svg)](https://npmjs.org/package/@oclif/plugin-update) [![Downloads/week](https://img.shields.io/npm/dw/@oclif/plugin-update.svg)](https://npmjs.org/package/@oclif/plugin-update) [![License](htt

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

## Install

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

## Health

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

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

Warnings: low downloads; no types.

## Facts

| | |
|---|---|
| Version | 5.0.0 |
| Published | 2026-08-31 |
| First published | 2018-02-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM |
| Node | >=22.0.0 |
| Dependencies | 10 |
| Unpacked size | 43.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 56 |
| Author | Salesforce |
| Maintainers | jimjag, salesforce-releases |
| Keywords | oclif-plugin |

## Links

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

## Dependencies (10)

- [got](https://npm.io/package/got.md) ^13
- [ansis](https://npm.io/package/ansis.md) ^3.17.0
- [debug](https://npm.io/package/debug.md) ^4.4.1
- [semver](https://npm.io/package/semver.md) ^7.8.5
- [tar-fs](https://npm.io/package/tar-fs.md) ^2.1.5
- [filesize](https://npm.io/package/filesize.md) ^6.1.0
- [@oclif/core](https://npm.io/package/@oclif/core.md) ^5.0.0
- [proxy-agent](https://npm.io/package/proxy-agent.md) ^6.5.0
- [@oclif/table](https://npm.io/package/@oclif/table.md) ^1.0.0
- [@inquirer/select](https://npm.io/package/@inquirer/select.md) ^2.5.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

- 5.0.0 (latest) — 2026-08-31
- 4.7.20-qa.0 (qa) — 2026-03-04
- 4.4.13-dev.2 (dev) — 2024-07-26
- 1.4.0-3 (beta) — 2021-03-17
- 4.8.0 — 2026-08-19
- 4.7.59 — 2026-08-09
- 4.7.58 — 2026-08-09
- 4.7.57 — 2026-08-02
- 4.7.56 — 2026-07-26
- 4.7.55 — 2026-07-21
- 4.7.54 — 2026-06-30
- 4.7.53 — 2026-06-28
- 4.7.52 — 2026-06-22
- 4.7.51 — 2026-06-21
- 4.7.50 — 2026-06-21
- … 289 more at https://npm.io/package/@oclif/plugin-update/versions

## README

# @oclif/plugin-update

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

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

# Usage

See https://oclif.io/docs/releasing.html#autoupdater

## Configuration

### Update Check Interval

You can customize how often the plugin checks for updates by adding the `autoupdate.debounce` configuration to your `package.json`:

```json
{
  "oclif": {
    "update": {
      "autoupdate": {
        "debounce": 7
      }
    }
  }
}
```

The `debounce` value is the number of days between update checks for all channels. When set, it overrides the default behavior for all channels.

If not configured, the plugin defaults to:

- Stable channel: 14 days
- Other channels: 1 day

# Commands

<!-- commands -->
* [`oclif-example update [CHANNEL]`](#oclif-example-update-channel)

## `oclif-example update [CHANNEL]`

update the oclif-example CLI

```
USAGE
  $ oclif-example update [CHANNEL] [--force |  | [-a | -v <value> | -i]] [-b ]

FLAGS
  -a, --available        See available versions.
  -b, --verbose          Show more details about the available versions.
  -i, --interactive      Interactively select version to install. This is ignored if a channel is provided.
  -v, --version=<value>  Install a specific version.
      --force            Force a re-download of the requested version.

DESCRIPTION
  update the oclif-example CLI

EXAMPLES
  Update to the stable channel:

    $ oclif-example update stable

  Update to a specific version:

    $ oclif-example update --version 1.0.0

  Interactively select version:

    $ oclif-example update --interactive

  See available versions:

    $ oclif-example update --available
```

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

# Contributing

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

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