You should give Termux a try. It's an honest to goodness "Linux environment" with a full package manager for many many popular tools and utilities, including the build essentials if you want to compile software directly on your device.
So it makes sense to use Linux if that's what you prioritize.