Docs Home → MongoDB Command Line Interface
mongocli ops-manager agents upgrade
On this page
Upgrade MongoDB Agents to the latest available version.
Syntax
mongocli ops-manager agents upgrade [options]
Options
Name | Type | Required | Description |
---|---|---|---|
-h, --help | false | help for upgrade | |
-o, --output | string | false | Output format.
Valid values: json|json-path|go-template|go-template-file |
--projectId | string | false | Project ID to use. Overrides configuration file or environment variable settings. |
Inherited Options
Name | Type | Required | Description |
---|---|---|---|
-P, --profile | string | false | Profile to use from your configuration file. |