Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: tiup 无法下载

The official documentation command curl --proto '=https' --tlsv1.2 -sSf https://tiup-mirrors.pingcap.com/install.sh | sh
reports an error:
curl --proto '=https' --tlsv1.2 -sSf https://tiup-mirrors.pingcap.com/install.sh | sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 7323k 100 7323k 0 0 14.1M 0 --:--:-- --:--:-- --:--:-- 14.1M
tar (child): /tmp/tiup-linux-amd64.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
Failed to download and/or extract tiup archive.
Ubuntu 20.04; found the file under /tmp/snap-private-tmp/snap.curl/tmp/tiup-linux-amd64.tar.gz
.