## zowe › plugins › update

Update plug-ins.

#### Usage

zowe plugins update [plugin...] [options]

#### Positional Arguments

- `plugin...` (string)

  - The name of the plug-in to update.

    If the plug-in argument is omitted, no action is taken.

#### Options

- `--registry` (string)

  - The npm registry that is used when installing remote packages. When this value is omitted, the value returned by `npm config get registry` is used.

    For more information about npm registries, see: https://docs.npmjs.com/misc/registry

- `--login` (boolean)

  - The flag to add a registry user account to install from secure registry. It saves credentials to the .npmrc file using `npm login`. When this value is omitted, credentials from .npmrc file is used. If you used this flag once for specific registry, you don't have to use it again, it uses credentials from .npmrc file.

    For more information about npm registries, see:
    https://docs.npmjs.com/cli/login for NPM >= 9
    https://docs.npmjs.com/cli/adduser for NPM < 9

#### Examples

- Update a plug-in:

  - `zowe plugins update my-plugin`

- Update a remote plug-in from the registry which requires authorization(don't need to use this flag if you have already logged in before):

  - `zowe plugins update my-plugin --registry https://registry.npmjs.org/ --login`