You may want to run some script on your phone,so here is a guide for you.
Download the linux version from the download page doesn't work because it was compiled for x86_64,you need to compile it yourself.
1.Download and install termux from https://github.com/termux/termux-app , open it so you can run commands in it.
2.run apt update
3.run apt upgrade
4.run apt install git
5.run apt install clang
6.run apt install make
7.run git clone https://github.com/JoeStrout/miniscript.git
8.run cd ~/miniscript/MiniScript-cpp/
9.run make
Done! You have compiled miniscript.
Now what you can do is run ./miniscript
to use it, but first we should run chmod ugo+x miniscript
to get perms. For extra convenience, we will put the compiled binary in the bin folder, but we don't have a /usr/local/bin folder, the termux bin folder is in /data/data/com.termux/files/usr/bin, run mv miniscript /data/data/com.termux/files/usr/bin