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_MIRRORSvariable to the official mirror address:
- Make sure that the
TIUP_MIRRORSvariable is not set, and then execute the
tiup mirror set https://tiup-mirrors.pingcap.comcommand.