Skip to content

Latest commit

 

History

History
138 lines (97 loc) · 5.75 KB

install-devtools-manually.md

File metadata and controls

138 lines (97 loc) · 5.75 KB
copyright lastupdated keywords subcollection
years
2019
2019-08-22
IBM Cloud Developer Tools CLI, manual, manual install, tools, components, developer tools, ibmcloud cli, ibmcloud, ibmcloud dev, cli, plugin, plug-in, command line, command-line, developer tools, kubernetes, kubectl
cloud-cli

{:new_window: target="_blank"} {:shortdesc: .shortdesc} {:screen: .screen} {:codeblock: .codeblock} {:pre: .pre} {:note: .deprecated} {:external: target="_blank" .external}

Installing the {{site.data.keyword.cloud_notm}} developer tools CLI plug-in manually

{: #install-devtools-manually}

You can manually install the {{site.data.keyword.cloud}} developer tools command line interface (CLI) plug-in if you prefer more granular control for installing the components. Otherwise, all prerequisites are automatically installed for most users by using the platform installers. {: shortdesc}

Before you begin

{: cli-before-you-begin}

  • Install the stand-alone {{site.data.keyword.cloud_notm}} CLI to get support for installing command line plug-ins for {{site.data.keyword.cloud_notm}}.
  • Install the curl{: external} command for downloading packages through the command line.

Installing the {{site.data.keyword.cloud_notm}} developer tools CLI plug-in

{: #install-devtools-idt}

You can use the {{site.data.keyword.cloud_notm}} developer tools CLI commands to create an application, manage, deploy, debug, and test it.

To install the {{site.data.keyword.cloud_notm}} developer tools plug-in, run the following command:

ibmcloud plugin install dev

{: codeblock}

Installing Docker

{: #install-devtools-docker}

For running and debugging apps locally, install Docker{: external}.

Installing the Kubernetes command line tool

{: #idt-install-kube}

To view a local version of the Kubernetes dashboard, and to deploy apps into your clusters, install the Kubernetes command line tool{: external} for your platform:

  • Mac:

    curl --progress-bar -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/darwin/amd64/kubectl
    

    {: codeblock}

  • Linux™:

    curl --progress-bar -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl
    

    {: codeblock}

  • Windows™:

    curl -LO https://storage.googleapis.com/kubernetes-release/release/v1.7.0/bin/windows/amd64/kubectl.exe
    

    {: codeblock}

The prefix for running commands by using the Kubernetes command line tool is kubectl. For more information, see Setting up the CLI and API.

Installing {{site.data.keyword.cos_full_notm}} CLI plug-in

The {{site.data.keyword.cos_full_notm}} plug-in extends the {{site.data.keyword.cloud_notm}} command line interface (CLI) with an API wrapper for working with Object Storage resources.

  • To install the {{site.data.keyword.cos_full_notm}} plug-in, run the following command:
    ibmcloud plugin install cloud-object-storage
    
    {: codeblock}

For more information, see the {{site.data.keyword.cos_full_notm}} command reference.

Installing {{site.data.keyword.registrylong_notm}} CLI plug-in

{: #idt-install-container-registry-cli-plugin}

You can use the container-registry CLI plug-in to set up your own image namespace in an IBM-hosted, and managed, private registry. Where you can store and share Docker images with all users in your {{site.data.keyword.cloud_notm}} account.

  • To install the {{site.data.keyword.registrylong}} plug-in, run the following command:
    ibmcloud plugin install container-registry
    
    {: codeblock}

For more information, see the {{site.data.keyword.registrylong}} command reference.

Installing {{site.data.keyword.containerlong_notm}} CLI plug-in

{: #idt-install-kubernetes-cli-plugin}

To create and manage Kubernetes clusters in {{site.data.keyword.containerlong}}:

  • To install the {{site.data.keyword.registryshort_notm}} plug-in, run the following command:
    ibmcloud plugin install container-service
    
    {: codeblock}

For more information, see the {{site.data.keyword.registryshort_notm}} command reference.

Installing Helm

{: #idt-install-helm}

Install Helm{: external}, which is a Kubernetes-based package manager.

  • Mac and Linux™ users, run the following commands:

    export DESIRED_VERSION=v2.7.2
    curl -sL https://raw.githubusercontent.com/kubernetes/helm/master/scripts/get | bash
    

    {: codeblock}

  • Windows™ users can download and install the Helm binary{: external}.

Installing the {{site.data.keyword.openwhisk_short}} CLI plug-in

{: #idt-install-functions}

You can use the {{site.data.keyword.openwhisk}} CLI plug-in to manage your code snippets in actions, bundle actions into packages, and create triggers and rules to enable your actions to respond to events.

To install the {{site.data.keyword.openwhisk_short}} CLI plug-in, run the following command:

ibmcloud plugin install cloud-functions

{: codeblock}

For more information, see Installing the {{site.data.keyword.openwhisk_short}} CLI plug-in.