Here you can find instructions on how to download and install the Tanzu Service Mesh CLI.

You can download the the compressed TAR file containing the installation binary from a specified URL in your browser.

Prerequisites

Procedure

  1. In the navigation pane on the left, click Admin > CLI.
  2. On the CLI page, under Download the TAR file, download the installation TAR file depending on your operating system.
    • Linux

    https://{SaaS-host-name}/allspark-static/binaries/tsm-cli-linux.tgz

    • macOS

    https://{SaaS-host-name}/allspark-static/binaries/tsm-cli-mac.tgz

    Where {SaaS-host-name} is the name of your Tanzu Service Mesh SaaS host. The host name of your Tanzu Service Mesh SaaS is automatically added to the URL.

    Example of the download URL:

    https://my-prod.servicemesh.biz/allspark-static/binaries/tsm-cli-linux.tgz

  3. Run the following command depending on your operating system.

    This command unpacks the TAR file into /usr/local/bin on your machine.

    • Linux:

    sudo tar xf tsm-cli-linux.tgz -C /usr/local/bin/
    • macOS:

    sudo tar xf tsm-cli-mac.tgz -C /usr/local/bin/

    The command installs the CLI automatically. After the installation is complete, the CLI becomes operational.

What to do next

To start using the Tanzu Service Mesh CLI, you need to Log in to the Tanzu Service Mesh CLI.

To get Help on all the available CLI commands, run tsm -h.