

You can’t.
Mobile application require strange wrappings and packagings to run native code like that.
On android you could potentially use termux and build from source for aarch64, but iOS doesn’t have anything like that.
Furthermore, iOS is very locked down, so running some random source from GitHub is essentially impossible without proper developer tools and a mac to run them.




Pros:
Microsoft Windows is actually a complete piece of crap
Unfortunately, cons of switching:
I’ve been using Linux-only since around 2019 (having used it alongside Windows for gaming before then) when Proton finally started getting good. I’m also an engineer, artist, writer, gamer, musician, maker, and more, so I feel like I have touched a lot of the different ways in which computers are used. I’ve used several distros for extended periods, and my fav is Arch (tho Nix is a close second; it’s just not quite ready for primetime)
Linux is absolutely a viable alternative, but you have to know what you want from your PC. How do you want it to function? Pick that choice. It’s not ice-cream flavors where all are equal and you have to decide; form follows function here. Decide what you need and then build your own system from that - bc Linux is yours. Refuse to be spoonfed slop no matter if the slop is from Microsoft or from a Linux distro. Slop is slop. Cook your own meal. It tastes better. If you don’t like mushrooms, don’t get mushrooms.