Follow the instructions as shown in the video and below are the commands you will need. Install Debian (tap the command to copy):
curl -o setup.sh https://raw.githubusercontent.com/AnBui2004/termux/main/installprootdistrodebian.sh && chmod +rwx setup.sh && ./setup.sh && rm setup.sh
Install CLion (tap the command to copy):
curl -o setup.sh https://raw.githubusercontent.com/AnBui2004/termux/main/clion.sh && chmod +rwx setup.sh && ./setup.sh && rm setup.sh
Login to Debian (tap the command to copy):
proot-distro login debian
Run CLion (tap the command to copy):
./clion.sh