{"id":2995,"date":"2015-06-11T20:00:38","date_gmt":"2015-06-11T17:00:38","guid":{"rendered":"http:\/\/www.altoros.com\/blog\/?p=2995"},"modified":"2019-05-31T16:38:12","modified_gmt":"2019-05-31T13:38:12","slug":"how-to-install-cloud-foundry-cli-plug-ins","status":"publish","type":"post","link":"https:\/\/www.altoros.com\/blog\/how-to-install-cloud-foundry-cli-plug-ins\/","title":{"rendered":"How to Install Cloud Foundry CLI Plug-ins"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_79_2 counter-hierarchy ez-toc-counter ez-toc-transparent ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.altoros.com\/blog\/how-to-install-cloud-foundry-cli-plug-ins\/#Customizing_your_Cloud_Foundry_CLI\" >Customizing your Cloud Foundry CLI<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.altoros.com\/blog\/how-to-install-cloud-foundry-cli-plug-ins\/#Want_details_Watch_the_video\" >Want details? Watch the video!<\/a><\/li><\/ul><\/nav><\/div>\n<h3><span class=\"ez-toc-section\" id=\"Customizing_your_Cloud_Foundry_CLI\"><\/span>Customizing your Cloud Foundry CLI<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>As of June 2015, there were about <a href=\"http:\/\/plugins.cfapps.io\/ui\/\" target=\"blank\" rel=\"noopener noreferrer\">15 CLI plug-ins<\/a> available in the CF community repository. This video from Cloud Foundry&#8217;s official YouTube account explains how to add new commands to the CF command line interface using CLI plug-ins. See the <a href=\"https:\/\/docs.cloudfoundry.org\/cf-cli\/use-cli-plugins.html\" target=\"blank\" rel=\"noopener noreferrer\">Cloud Foundry documentation<\/a> for more information or read <a href=\"https:\/\/www.starkandwayne.com\/blog\/2015\/03\/04\/installing-cloud-foundry-cli-plugins\/\" target=\"blank\" rel=\"noopener noreferrer\">this blog post<\/a> by Dr. Nic for detailed instructions on how to successfully install CF CLI plug-ins.<\/p>\n<p>If you would like to contribute your own plug-in to the Cloud Foundry CLI Plug-in Repository, refer to <a href=\"https:\/\/github.com\/cloudfoundry\/cli-plugin-repo\" target=\"blank\" rel=\"noopener noreferrer\">this page<\/a>.<\/p>\n<p>(<strong>Note:<\/strong> If anyone knows the author of the video, please let us know.)<\/p>\n<div id=\"\" class=\"clearfix padded-panel\"><div class=\"details-box-wrapper\" style=\"\/* background-image:url(http:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2015\/04\/cf-after-dark-apache-brooklyn.gif); *\/\"><div class=\"details-box-overlay details-box-overlay-a\"><\/div><div class=\"details-box\"><div class=\"section-title\">Altoros Take<\/div><div class=\"details-wrapper\"><div class=\"detail-item\"><div class=\"take\"><span><\/p>\n<p>Cloud Foundry CLI plug-ins are great for adding new powerful features to your PaaS. They can be used to add various functionality, e.g. a possibility to interact with Service Broker for Apache Brooklyn, launch Kibana, view all buildpacks in the current CLI target context, etc.<\/p>\n<p>It is also possible to make custom plug-ins tailored your particular needs. The required steps are <a href=\"https:\/\/docs.cloudfoundry.org\/cf-cli\/develop-cli-plugins.html\" target=\"blank\" rel=\"noopener noreferrer\">described<\/a> in the Cloud Foundry documentation and here are some <a href=\"https:\/\/github.com\/cloudfoundry\/cli\/tree\/master\/plugin_examples\" target=\"blank\" rel=\"noopener noreferrer\">examples<\/a> of CLI plug-ins submitted by the community.<\/p>\n<p>The power of the plug-in writ large here. Development by the community in this area will be one of the killer reasons that Cloud Foundry ultimately prevails, or not if it fails to do so.<\/p>\n<p><\/span><\/div><\/div><\/div><\/div><\/div><\/div>\n&nbsp;<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Want_details_Watch_the_video\"><\/span>Want details? Watch the video!<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<table width=100%>\n<tr>\n<td class=\"video-details-td\">\n<div style=\"float:right; width:45%; padding-left:15px; font-size:14px;\">\n<strong>Table of contents<\/strong><\/p>\n<ol>\n<li>What are CF CLI plug-ins and what do they do? (0:05)<\/li>\n<li>What capabilities can be added through CLI plug-ins? (0:19)<\/li>\n<li>How to install a CF CLI plug-in? (0:52)<\/li>\n<li>Where is CLI plug-in configuration stored? (1:04)<\/li>\n<li>Checking out the new commands (1:23)<\/li>\n<li>What are the current limitations of CLI plug-in commands? (1:56)<\/li>\n<li>Installing a plug-in to add commands that can take arguments (2:13)<\/li>\n<\/ol>\n<\/div>\n<div class=\"video-container\"><iframe loading=\"lazy\" title=\"Cloud Foundry CLI Plugins\" width=\"1200\" height=\"675\" src=\"https:\/\/www.youtube.com\/embed\/qRyPDeS1auQ?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/div>\n<p>\n<\/td>\n<\/tr>\n<\/table>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Customizing your Cloud Foundry CLI<\/p>\n<p>As of June 2015, there were about 15 CLI plug-ins available in the CF community repository. This video from Cloud Foundry&#8217;s official YouTube account explains how to add new commands to the CF command line interface using CLI plug-ins. See the Cloud Foundry documentation for more [&#8230;]<\/p>\n","protected":false},"author":4,"featured_media":3710,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"content-type":"","footnotes":"","_links_to":"","_links_to_target":""},"categories":[214],"tags":[873,206],"class_list":["post-2995","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","tag-cloud-native","tag-oss-cloud-foundry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Install Cloud Foundry CLI Plug-ins | Altoros<\/title>\n<meta name=\"description\" content=\"This video overviews the user experience of adding new commands to the Cloud Foundry command line interface using CLI plug-ins.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.altoros.com\/blog\/how-to-install-cloud-foundry-cli-plug-ins\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install Cloud Foundry CLI Plug-ins | Altoros\" \/>\n<meta property=\"og:description\" content=\"This video overviews the user experience of adding new commands to the Cloud Foundry command line interface using CLI plug-ins.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.altoros.com\/blog\/how-to-install-cloud-foundry-cli-plug-ins\/\" \/>\n<meta property=\"og:site_name\" content=\"Altoros\" \/>\n<meta property=\"article:published_time\" content=\"2015-06-11T17:00:38+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-05-31T13:38:12+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2015\/04\/Cloud-foundry-cli-plugins2.gif\" \/>\n\t<meta property=\"og:image:width\" content=\"700\" \/>\n\t<meta property=\"og:image:height\" content=\"393\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/gif\" \/>\n<meta name=\"author\" content=\"Volha Kurylionak\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Volha Kurylionak\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.altoros.com\/blog\/how-to-install-cloud-foundry-cli-plug-ins\/\",\"url\":\"https:\/\/www.altoros.com\/blog\/how-to-install-cloud-foundry-cli-plug-ins\/\",\"name\":\"How to Install Cloud Foundry CLI Plug-ins | Altoros\",\"isPartOf\":{\"@id\":\"https:\/\/www.altoros.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.altoros.com\/blog\/how-to-install-cloud-foundry-cli-plug-ins\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.altoros.com\/blog\/how-to-install-cloud-foundry-cli-plug-ins\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2015\/04\/Cloud-foundry-cli-plugins2.gif\",\"datePublished\":\"2015-06-11T17:00:38+00:00\",\"dateModified\":\"2019-05-31T13:38:12+00:00\",\"author\":{\"@id\":\"https:\/\/www.altoros.com\/blog\/#\/schema\/person\/06996f567847f38d58a226481dac00d8\"},\"description\":\"This video overviews the user experience of adding new commands to the Cloud Foundry command line interface using CLI plug-ins.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.altoros.com\/blog\/how-to-install-cloud-foundry-cli-plug-ins\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.altoros.com\/blog\/how-to-install-cloud-foundry-cli-plug-ins\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.altoros.com\/blog\/how-to-install-cloud-foundry-cli-plug-ins\/#primaryimage\",\"url\":\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2015\/04\/Cloud-foundry-cli-plugins2.gif\",\"contentUrl\":\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2015\/04\/Cloud-foundry-cli-plugins2.gif\",\"width\":700,\"height\":393,\"caption\":\"Cloud-foundry-cli-plugins2\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.altoros.com\/blog\/how-to-install-cloud-foundry-cli-plug-ins\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.altoros.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install Cloud Foundry CLI Plug-ins\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.altoros.com\/blog\/#website\",\"url\":\"https:\/\/www.altoros.com\/blog\/\",\"name\":\"Altoros\",\"description\":\"Insight\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.altoros.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.altoros.com\/blog\/#\/schema\/person\/06996f567847f38d58a226481dac00d8\",\"name\":\"Volha Kurylionak\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.altoros.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/12\/olga-kurilyonok-140x140.jpg\",\"contentUrl\":\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/12\/olga-kurilyonok-140x140.jpg\",\"caption\":\"Volha Kurylionak\"},\"description\":\"Volha Kurylionak is Technical Writer at Altoros, a Cloud Foundry activist, a technical blogger with 4+ years of experience, and a big fan of open source.\",\"url\":\"https:\/\/www.altoros.com\/blog\/author\/volha-kurylionak\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Install Cloud Foundry CLI Plug-ins | Altoros","description":"This video overviews the user experience of adding new commands to the Cloud Foundry command line interface using CLI plug-ins.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.altoros.com\/blog\/how-to-install-cloud-foundry-cli-plug-ins\/","og_locale":"en_US","og_type":"article","og_title":"How to Install Cloud Foundry CLI Plug-ins | Altoros","og_description":"This video overviews the user experience of adding new commands to the Cloud Foundry command line interface using CLI plug-ins.","og_url":"https:\/\/www.altoros.com\/blog\/how-to-install-cloud-foundry-cli-plug-ins\/","og_site_name":"Altoros","article_published_time":"2015-06-11T17:00:38+00:00","article_modified_time":"2019-05-31T13:38:12+00:00","og_image":[{"width":700,"height":393,"url":"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2015\/04\/Cloud-foundry-cli-plugins2.gif","type":"image\/gif"}],"author":"Volha Kurylionak","twitter_misc":{"Written by":"Volha Kurylionak","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.altoros.com\/blog\/how-to-install-cloud-foundry-cli-plug-ins\/","url":"https:\/\/www.altoros.com\/blog\/how-to-install-cloud-foundry-cli-plug-ins\/","name":"How to Install Cloud Foundry CLI Plug-ins | Altoros","isPartOf":{"@id":"https:\/\/www.altoros.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.altoros.com\/blog\/how-to-install-cloud-foundry-cli-plug-ins\/#primaryimage"},"image":{"@id":"https:\/\/www.altoros.com\/blog\/how-to-install-cloud-foundry-cli-plug-ins\/#primaryimage"},"thumbnailUrl":"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2015\/04\/Cloud-foundry-cli-plugins2.gif","datePublished":"2015-06-11T17:00:38+00:00","dateModified":"2019-05-31T13:38:12+00:00","author":{"@id":"https:\/\/www.altoros.com\/blog\/#\/schema\/person\/06996f567847f38d58a226481dac00d8"},"description":"This video overviews the user experience of adding new commands to the Cloud Foundry command line interface using CLI plug-ins.","breadcrumb":{"@id":"https:\/\/www.altoros.com\/blog\/how-to-install-cloud-foundry-cli-plug-ins\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.altoros.com\/blog\/how-to-install-cloud-foundry-cli-plug-ins\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.altoros.com\/blog\/how-to-install-cloud-foundry-cli-plug-ins\/#primaryimage","url":"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2015\/04\/Cloud-foundry-cli-plugins2.gif","contentUrl":"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2015\/04\/Cloud-foundry-cli-plugins2.gif","width":700,"height":393,"caption":"Cloud-foundry-cli-plugins2"},{"@type":"BreadcrumbList","@id":"https:\/\/www.altoros.com\/blog\/how-to-install-cloud-foundry-cli-plug-ins\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.altoros.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Install Cloud Foundry CLI Plug-ins"}]},{"@type":"WebSite","@id":"https:\/\/www.altoros.com\/blog\/#website","url":"https:\/\/www.altoros.com\/blog\/","name":"Altoros","description":"Insight","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.altoros.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.altoros.com\/blog\/#\/schema\/person\/06996f567847f38d58a226481dac00d8","name":"Volha Kurylionak","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.altoros.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/12\/olga-kurilyonok-140x140.jpg","contentUrl":"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/12\/olga-kurilyonok-140x140.jpg","caption":"Volha Kurylionak"},"description":"Volha Kurylionak is Technical Writer at Altoros, a Cloud Foundry activist, a technical blogger with 4+ years of experience, and a big fan of open source.","url":"https:\/\/www.altoros.com\/blog\/author\/volha-kurylionak\/"}]}},"_links":{"self":[{"href":"https:\/\/www.altoros.com\/blog\/wp-json\/wp\/v2\/posts\/2995","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.altoros.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.altoros.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.altoros.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.altoros.com\/blog\/wp-json\/wp\/v2\/comments?post=2995"}],"version-history":[{"count":39,"href":"https:\/\/www.altoros.com\/blog\/wp-json\/wp\/v2\/posts\/2995\/revisions"}],"predecessor-version":[{"id":43842,"href":"https:\/\/www.altoros.com\/blog\/wp-json\/wp\/v2\/posts\/2995\/revisions\/43842"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.altoros.com\/blog\/wp-json\/wp\/v2\/media\/3710"}],"wp:attachment":[{"href":"https:\/\/www.altoros.com\/blog\/wp-json\/wp\/v2\/media?parent=2995"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.altoros.com\/blog\/wp-json\/wp\/v2\/categories?post=2995"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.altoros.com\/blog\/wp-json\/wp\/v2\/tags?post=2995"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}