# Step 2: Installing `TiUP` Cluster Components

__*TiDB deployment steps*__
__*TiUP component installation*__
__*zz-BGL*__
__*zz-Jeff*__


+ Download and install `TiUP` on your control machine:
  + **`curl --proto '=https' --tlsv1.2 -sSf https://tiup-mirrors.pingcap.com/install.sh | sh`**
+ Setup `TiUP` environment variables, for example:
  + **`source .bash_profile`**
+ Install `TiUP` cluster components:
  + **`tiup cluster`**
+ Update the `TiUP` cluster component to the latest version if `TiUP` is already installed:
  + **`tiup update --self && tiup update cluster`**
+ Verify the current version of your `TiUP` cluster:
  + **`tiup --binary cluster`**

-------------------------------------------------------------
`TiUP` is a cluster operation and maintenance tool introduced in `TiDB 4.0`. `TiUP` provides `TiUP` cluster, a cluster management component written in `Golang`. By using `TiUP` cluster, you can easily perform daily database operations, including deploying, starting, stopping, destroying, scaling, and upgrading a `TiDB` cluster, and manage `TiDB` cluster parameters.

`TiUP` supports deploying `TiDB`, `TiFlash`, `TiDB Binlog`, `TiCDC`, and the monitoring system. This document introduces how to deploy `TiDB` clusters of different topologies.