2017-03-23 27 views

回答

1

您可以直接在這裏下載插件二進制:

https://clis.ng.bluemix.net/ui/repository.html#bluemix-plugins

然後運行bx plugin install ~/Downloads/my-plugin


您可以運行此命令添加Bluemix到可用回購的名單:

bx plugin repo-add Bluemix https://plugins.ng.bluemix.net 

之後,當你列出你的回購協議,應該還有:

$ bx plugin repos 
Listing added plug-in repositories... 

Repo Name URL 
Bluemix  https://plugins.ng.bluemix.net 

然後你可以列出插件:

$ bx plugin repo-plugins 
Getting plug-ins from all repositories... 

Repository: Bluemix 
Name      Description                                     Versions 
active-deploy    Bluemix CLI plugin for Active Deploy to help you update applications and containers with no downtime. Works for Cloud Foundry apps and for IBM Containers. 0.1.97, 0.1.105 
auto-scaling    Bluemix CLI plug-in for Auto-Scaling service                             0.2.1, 0.2.2 
vpn      Bluemix CLI plug-in for IBM VPN service                              1.5.0, 1.5.1, 1.5.2 
private-network-peering pnp-plugin-description                                  0.1.1 
IBM-Containers   Plugin to operate IBM Containers service                              1.0.0 
container-registry  Plugin for IBM Bluemix Container Registry.                             0.1.104, 0.1.107 
container-service   IBM Bluemix Container Service for management of Kubernetes clusters                       0.1.217 
sdk-gen     Plugin to generate SDKs from Open API specifications                           0.1.1 
dev      IBM Bluemix CLI Developer Plug-in                               0.0.5 

然後你可以安裝一個:

bluemix plugin install plugin_name -r Bluemix 
+0

嗨@owhc,這是否回答你的問題? – joe

+1

是的!非常感謝。有用! – owhc

+0

這對我不起作用。 IBM網站有些問題。 – Chris