install-plugin - Cloud Foundry CLI Reference Guide


名称

install-plugin - 安装 CLI 插件

用法

cf install-plugin PLUGIN_NAME [-r REPO_NAME] [-f] cf install-plugin LOCAL-PATH/TO/PLUGIN | URL [-f]

WARNING

Plugins are binaries written by potentially untrusted authors. Install and use plugins at your own risk.

EXAMPLES

cf install-plugin ~/Downloads/plugin-foobar cf install-plugin https://example.com/plugin-foobar_linux_amd64 cf install-plugin -r My-Repo plugin-echo

选项

-f

强制安装插件而不确认

-r

将插件搜索范围限制为此注册存储库

另请参阅

add-plugin-repo, list-plugin-repos, plugins