Can TiUP not use the official mirror source?

TiUP supports specifying the mirror source through the TIUP_MIRRORS environment variable. The address of the mirror source can be a local directory or an HTTP server address. If your environment cannot access the network, you can create your own offline mirror source to use TiUP.

After using an unofficial mirror, if you want the official mirror back and use it, take one of the following measures:

  • Set the TIUP_MIRRORS variable to the official mirror address:
  • Make sure that the TIUP_MIRRORS variable is not set, and then execute the tiup mirror set command.