IBM Cloud CLI インストール CentOS7(自分用作業メモ)
参考文献
1.install
//clis.ng.bluemix.net/install/linux | sh
[root@develop ~]# curl -fsSL https://clis.ng.bluemix.net/install/linux | sh
Current platform is linux64. Downloading corresponding IBM Cloud CLI...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 120 0 120 0 0 156 0 --:--:-- --:--:-- --:--:-- 156
100 15.0M 100 15.0M 0 0 969k 0 0:00:15 0:00:15 --:--:-- 1370k
Download complete. Executing installer...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 40 0 40 0 0 50 0 --:--:-- --:--:-- --:--:-- 50
Bluemix_CLI/
Bluemix_CLI/autocomplete/
Bluemix_CLI/autocomplete/bash_autocomplete
Bluemix_CLI/autocomplete/zsh_autocomplete
Bluemix_CLI/install
Bluemix_CLI/install_bluemix_cli
Bluemix_CLI/bin/
Bluemix_CLI/bin/ibmcloud-analytics
Bluemix_CLI/bin/ibmcloud
Bluemix_CLI/bin/cfcli/
Bluemix_CLI/bin/cfcli/cf
Bluemix_CLI/bin/LICENSE
Bluemix_CLI/bin/NOTICE
Bluemix_CLI/uninstall
Copying files ...
The installation completed successfully.
To get started, open a terminal window and enter "ibmcloud help". Refer to "http://ibm.biz/cli-auto-completion" if you want to enable auto-completion for zsh or bash.
IBM Cloud CLI has a plug-in framework to extend its capability. To install the recommended plug-ins and dependencies, run the install script from "http://ibm.biz/install-idt". For additional plug-in details, see "http://ibm.biz/install-cli-plugin".
IBM Cloud CLI automatically collects data for usage analysis and user experience improvement. To disable the collecting, run "ibmcloud config --usage-stats-collect false"
To uninstall, run "/usr/local/ibmcloud/uninstall"
Install complete.
2. オートコンプリート設定
[root@develop ~]# cat ~/.bash_profile
# .bash_profile
## 以下行を追加
. /usr/local/ibmcloud/autocomplete/bash_autocomplete