This topic tells you about the Tanzu command-line interface (commonly known as Tanzu CLI).
The Tanzu CLI is a command-line interface that connects you to Tanzu. For example, some functions of Tanzu CLI include:
For more information about Tanzu CLI, see the VMware Tanzu CLI documentation.
The Tanzu CLI has a pluggable architecture. Plug-ins extend the Tanzu CLI core with additional CLI commands.
The following CLI plug-ins are required to install and use Tanzu Application Platform:
accelerator
: Manage accelerators in a Kubernetes clusterapps
: Manage application workloads running on workload clustersbuild-service
: Plug-in to interact with Tanzu Build Service (TBS) crdsexternal-secrets
: Interact with external-secrets.io resourcesinsight
: Post and query image, package, source, and vulnerability datapackage
: Package managementsecret
: Secret managementservices
: Discover service types, service instances, and manage resource claimsYou can also develop your own plug-ins to add custom commands to the Tanzu CLI.
You install and initialize the Tanzu CLI on a computer. The computer can be a laptop, host, or server. To install the CLI see Install Tanzu CLI.
Tanzu CLI commands are organized into command groups. View a list of available command groups by running:
tanzu
The list of command groups that you see depends on which CLI plug-ins are installed on your local machine.
Install the CLI plug-ins required for Tanzu Application Platform v1.6.13 by running:
tanzu plugin install --group vmware-tap/default:v{{ vars.tap_version }}
Plug-ins for the Tanzu CLI are distributed by using a centralized plug-in repository.
The centralized plug-in repository contains:
To discover and install plug-ins and plug-in groups:
Discover which plug-ins or plug-in groups are available for installation by running:
tanzu plugin search
tanzu plugin group search
NoteInclude the
--show-details
flag to see all plug-in or group versions available for installation.
Install the latest version of a plug-in or plug-in group by running:
tanzu plugin install PLUG-IN-NAME
tanzu plugin install --group GROUP-NAME
Install a specific version of a plug-in or plug-in group by running:
tanzu plugin install PLUG-IN-NAME --version VERSION
tanzu plugin install --group GROUP-NAME:VERSION