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.
apt install git
apt install clang
apt install make
git clone https://github.com/JoeStrout/miniscript.git
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