Skip to content

Latest commit

 

History

History
114 lines (80 loc) · 3.99 KB

faq.md

File metadata and controls

114 lines (80 loc) · 3.99 KB
copyright lastupdated keywords subcollection content-type
years
2019, 2023
2023-05-19
cli, cli faq, debug cli, cli help, ibmcloud cli help, ibmcloud help, cli private endpoints
cli
faq

{{site.data.keyword.attribute-definition-list}}

FAQs for the {{site.data.keyword.cloud_notm}} CLI

{: #ibm-cli-faq}

FAQs for the {{site.data.keyword.cloud}} Command Line Interface include questions about CLI versioning, updates, and working with apps. To find all FAQs for {{site.data.keyword.cloud_notm}}, see the FAQ library. {: shortdesc}

Do I have to use the latest version of the {{site.data.keyword.cloud_notm}} CLI?

{: #cli-latest-version} {: faq}

Yes, you must use the latest version. You can check which version you are using by running the following command:

ibmcloud -v

{: codeblock}

How do I update the CLI?

{: #cli-update-version} {: faq} {: support}

Run the following command to update to the latest version of the CLI:

ibmcloud update

{: codeblock}

How can I be notified about new CLI releases?

{: #cli-get-notified} {: faq} {: support}

When you run an {{site.data.keyword.cloud_notm}} CLI command, you're notified if a new version is available. You can also subscribe to the {{site.data.keyword.cloud_notm}} CLI releases repository{: external} to stay up to date on the latest releases.

How do I install the {{site.data.keyword.cloud_notm}} CLI along with developer plug-ins and tools?

{: #cli-install-devtools-manually} {: faq}

To install the latest {{site.data.keyword.cloud_notm}} CLI and recommended plug-ins and tools for developing applications for {{site.data.keyword.cloud_notm}}, follow the steps in Getting started with the {{site.data.keyword.cloud_notm}} CLI and Extending IBM Cloud CLI with plug-ins.

To install only the stand-alone {{site.data.keyword.cloud_notm}} CLI without any plug-ins or tools, see Installing the stand-alone {{site.data.keyword.cloud_notm}} CLI.

How do I download a plug-in?

{: #cli-install-download-local} {: faq}

Use the ibmcloud plugin download PLUGIN_NAME command to download a plug-in. For more information, see ibmcloud plugin download.

Example: ibmcloud plugin download container-service -v 0.1.425

How do I install a plug-in locally?

{: #cli-install-plugin-local} {: faq}

Use the ibmcloud plugin install LOCAL_FILE_NAME command to install a plug-in binary on your local computer. For example:

ibmcloud plugin install ./code-engine-darwin-amd64-1.23.2

{: codeblock}

Installing plugin './code-engine-darwin-amd64-1.23.2'...
OK
Plug-in 'code-engine 1.23.2' was successfully installed into /Users/username/.bluemix/plugins/code-engine. Use 'ibmcloud plugin show code-engine' to show its details.
$

{: screen}

How do I install a plug-in from a URL?

{: #cli-install-plugin-url} {: faq}

Use the ibmcloud plugin install URL command to install a plug-in directly from a URL. For example:

ibmcloud plugin install http://example.com/downloads/my-plugin

{: codeblock}

Which CLI plug-ins support private endpoints?

{: #cli-private-endpoint-plugins-faq} {: faq} {: support}

To find out which installed CLI plug-ins support private endpoints, use the ibmcloud plugin list command.

Which regions support private endpoints?

{: #cli-private-endpoint-faq} {: faq} {: support}

Regions that support private endpoints are us-east and us-south.

A region must be targeted when a private endpoint is set in the {{site.data.keyword.cloud_notm}} CLI.

For more information about regions, see Locations for resource deployment and Service and infrastructure availability by location.