Build for deployment

Overview

Note:

The easiest way to deploy TiDB is to use the official binary package directly, see Binary Deployment.**

If you want to build the TiDB project, deploy the binaries to other machines and run them, you can follow this guide.

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.