# Build for deployment

## Overview

Note:

The easiest way to deploy TiDB is to use TiDB Ansible, see Ansible Deployment.

Before you start, check the supported platforms and prerequisites first.

## Building and installing TiDB components

You can use the build script to build and install TiDB components in the bin directory.

You can use the update script to update all the TiDB components to the latest version.