copyright | lastupdated | keywords | subcollection | content-type | ||
---|---|---|---|---|---|---|
|
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}}
{: #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}
{: #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}
{: #cli-update-version} {: faq} {: support}
Run the following command to update to the latest version of the CLI:
ibmcloud update
{: codeblock}
{: #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.
{: #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.
{: #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
{: #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}
{: #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}
{: #cli-private-endpoint-plugins-faq} {: faq} {: support}
To find out which installed CLI plug-ins support private endpoints, use the ibmcloud plugin list
command.
{: #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.