Configuring the CLI to manage the IBM Cloud Metrics Routing account configuration
You must configure your local IBM Cloud Metrics Routing CLI so that you can manage the IBM Cloud Metrics Routing account configuration by using CLI commands.
Complete the following steps to install the IBM Cloud Metrics Routing CLI:
-
Get the versions that are available for the
metrics-router
CLI plug-in. Run the following command:ibmcloud plugin repo-plugins
For example, to get the versions of the IBM Cloud Metrics Routing CLI plug-in, run the following command:
ibmcloud plugin repo-plugins | grep metrics-router
The output of the command lists the versions that are available.
-
Install the CLI plugin in your local system. Run the following command:
ibmcloud plugin install metrics-router [-v VERSION]
Where
VERSION
is the value of a listed version that is available for the plug-in.
If you have the IBM Cloud Metrics Routing CLI plug-in in your local system and you want to update the version of the plug-in, run the following command: ibmcloud plugin update metrics-router
.
If you want to delete the IBM Cloud Metrics Routing CLI plug-in from your local system, run the following command: ibmcloud plugin delete metrics-router
.