Installing Command-Line Tools

This topic describes how to install command-line tools required to install Tanzu Application Service for Kubernetes.

Overview

Command-line tools required to install Tanzu Application Service for Kubernetes include the BOSH CLI (bosh), and the k14s utilities kapp, kbld, and ytt.

  • The kapp utility is a deployment tool with the concept of a “Kubernetes application”: a set of resources with the same label. For more information about kapp, consult get-kapp.io.

  • The kbld utility manipulates and replaces container images used in Kubernetes configuration files. For more information about kbld, consult get-kbld.io.

  • The ytt utility is a YAML templating and overlay tool that works on YAML structure instead of text. For more information about ytt, consult get-ytt.io.

For more information about the k14s utilities, consult k14s.io.

To install these tools, follow the procedures below for your operating system to obtain them from VMware Tanzu Network. Binaries are provided only for 64-bit architectures.

macOS

This section describes how to install the BOSH CLI, kapp, kbld, and ytt on macOS.

BOSH CLI

This section describes how to install the BOSH Command Line Interface tool (bosh) on macOS.

  1. Navigate to VMware Tanzu Network and log in.

  2. Click VMware Tanzu Application Service for Kubernetes.

  3. Click BOSH CLI.

  4. Click BOSH CLI for macOS to download the BOSH CLI binary.

  5. Rename the downloaded binary to bosh.

  6. On the command line, run the following command to make the BOSH CLI binary executable:

    $ chmod +x bosh

  7. Move the binary into your PATH. For example:

    $ mv bosh /usr/local/bin/bosh

kapp

This section describes how to install the kapp utility on macOS.

  1. Navigate to VMware Tanzu Network and log in.

  2. Click kapp.

  3. Click kapp - macOS to download the kapp binary.

  4. Rename the downloaded binary to kapp.

  5. On the command line, run the following command to make the kapp binary executable:

    $ chmod +x kapp

  6. Move the binary into your PATH. For example:

    $ mv kapp /usr/local/bin/kapp

kbld

This section describes how to install the kbld utility on macOS.

  1. Navigate to VMware Tanzu Network and log in.

  2. Click kbld.

  3. Click kbld - macOS to download the kbld binary.

  4. Rename the downloaded binary to kbld.

  5. On the command line, run the following command to make the kbld binary executable:

    $ chmod +x kbld

  6. Move the binary into your PATH. For example:

    $ mv kbld /usr/local/bin/kbld

ytt

This section describes how to install the ytt utility on macOS.

  1. Navigate to VMware Tanzu Network and log in.

  2. Click ytt.

  3. Click ytt - macOS to download the ytt binary.

  4. Rename the downloaded binary to ytt.

  5. On the command line, run the following command to make the ytt binary executable:

    $ chmod +x ytt

  6. Move the binary into your PATH. For example:

    $ mv ytt /usr/local/bin/ytt

Linux

This section describes how to install the BOSH CLI, kapp, kbld, and ytt on Linux.

BOSH CLI

This section describes how to install the BOSH Command Line Interface tool (bosh) on Linux.

  1. Navigate to Pivotal Network and log in.

  2. Click VMware Tanzu Application Service for Kubernetes.

  3. Click BOSH CLI.

  4. Click BOSH CLI for Linux to download the BOSH CLI binary.

  5. Rename the downloaded binary to bosh.

  6. On the command line, run the following command to make the BOSH CLI binary executable:

    $ chmod +x bosh

  7. Move the binary into your PATH. For example:

    $ mv bosh /usr/local/bin/bosh

kapp

This section describes how to install the kapp utility on Linux.

  1. Navigate to VMware Tanzu Network and log in.

  2. Click kapp.

  3. Click kapp - Linux to download the kapp binary.

  4. Rename the downloaded binary to kapp.

  5. On the command line, run the following command to make the kapp binary executable:

    $ chmod +x kapp

  6. Move the binary into your PATH. For example:

    $ mv kapp /usr/local/bin/kapp

kbld

This section describes how to install the kbld utility on Linux.

  1. Navigate to VMware Tanzu Network and log in.

  2. Click kbld.

  3. Click kbld - Linux to download the kbld binary.

  4. Rename the downloaded binary to kbld.

  5. On the command line, run the following command to make the kbld binary executable:

    $ chmod +x kbld

  6. Move the binary into your PATH. For example:

    $ mv kbld /usr/local/bin/kbld

ytt

This section describes how to install the ytt utility on Linux.

  1. Navigate to VMware Tanzu Network and log in.

  2. Click ytt.

  3. Click ytt - Linux to download the ytt binary.

  4. Rename the downloaded binary to ytt.

  5. On the command line, run the following command to make the ytt binary executable:

    $ chmod +x ytt

  6. Move the binary into your PATH. For example:

    $ mv ytt /usr/local/bin/ytt