Build for deployment

The easiest way to deploy TiDB is to use Docker Compose, see TiDB Docker Compose Deployment. For more deployment methods, see TiDB deployment methods.

Before you begin

You need to check the supported platforms and prerequisites first.

Build and install 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.