Difference between revisions of "Start with the IBM Cloud CLI"
Jump to navigation
Jump to search
↑ https://cloud.ibm.com/docs/cli?topic=cloud-cli-install-ibmcloud-cli
Tags: Mobile web edit, Mobile edit |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
*Log in to IBM Cloud with your IBMid. If you have multiple accounts, you are prompted to select which account to use. If you do not specify a region with the '''-r''' flag, you must also select a region. | *Log in to IBM Cloud with your IBMid. If you have multiple accounts, you are prompted to select which account to use. If you do not specify a region with the '''-r''' flag, you must also select a region. | ||
− | <code>ibmcloud login</code> | + | <code>[[ibmcloud login]]</code> |
Available Regions: | Available Regions: | ||
:1. au-syd | :1. au-syd | ||
Line 18: | Line 18: | ||
If your credentials are rejected, you might be using a federated ID. To log in with a federated ID, use the '''--sso''' flag | If your credentials are rejected, you might be using a federated ID. To log in with a federated ID, use the '''--sso''' flag | ||
− | + | To access Cloud Foundry services, you must specify a Cloud Foundry org and space. You can run the following command to interactively identify the org and space: | |
− | <code>ibmcloud target --cf</code> | + | * <code>[[ibmcloud target]] --cf</code> |
Or, if you know which org and space that the service belongs to, you can use the following command: <code>ibmcloud target -o <value> -s <value></code> | Or, if you know which org and space that the service belongs to, you can use the following command: <code>ibmcloud target -o <value> -s <value></code> | ||
== See also == | == See also == | ||
+ | * {{ibmcloud}} | ||
* {{IBM Cloud}} | * {{IBM Cloud}} | ||
* {{Cloud}} | * {{Cloud}} | ||
[[Category:Cloud]] | [[Category:Cloud]] |
Latest revision as of 16:37, 29 April 2021
Run the installation command[edit]
- IBM Cloud Cli, macOS:
curl -fsSL https://clis.cloud.ibm.com/install/osx | sh
[1] (To verify installed files:pkgutil --files com.ibm.cloud.cli
) - IBM Cloud developers tools, For Mac and Linux™, run the following command:
curl -sL https://ibm.biz/idt-installer | bash
- To verify that the CLI and Developer tools were installed successfully, run the help command:
ibmcloud dev help
- Log in to IBM Cloud with your IBMid. If you have multiple accounts, you are prompted to select which account to use. If you do not specify a region with the -r flag, you must also select a region.
ibmcloud login
Available Regions:
- 1. au-syd
- 2. jp-tok
- 3. kr-seo
- 4. eu-de
- 5. eu-gb
- 6. us-south
- 7. us-east
If your credentials are rejected, you might be using a federated ID. To log in with a federated ID, use the --sso flag
To access Cloud Foundry services, you must specify a Cloud Foundry org and space. You can run the following command to interactively identify the org and space:
ibmcloud target --cf
Or, if you know which org and space that the service belongs to, you can use the following command: ibmcloud target -o <value> -s <value>
See also[edit]
ibmcloud
[login | ls | regions | cos | dev | plugin ]
,ibmcloud --help
[install
, ...]- IBM Cloud,
ibmcloud
,ibmcloud --help
- Cloud: cloud providers, cloud timeline, serverless computing, AWS, Azure, Google Cloud, DigitalOcean, IBM Cloud, Alibaba CloudAlibaba, Tencent, Baidu, VPC, Cloud Foundry, Snowflake, Huawei Cloud, Oracle Cloud, CISPE, CIPS, Free trial, Cloudera, Vantage.sh, Render
Advertising: