went to http://ftp.math.utah.edu/pub/tlpretest/ and downloaded the file
install-tl-unx.tar.gz to new folder. Then did gunzip on it then tar -xvf on the tar
file. Then cd to the install folder that is created.
Now to do the actual installation it is important to type this command by giving
-reposity option else it will not work, since I have TL 2021 installed and I am trying to
install TL 2022. So used this command
sudo ./install-tl -repository http://www.math.utah.edu/pub/tlpretest/
Now it will make new folder for TL 2022 and install it there alongside the TL 2021.