By the moment there are only two methods to install yasos compiler in your GNU/Linux.
Yasos only has been tested in amd64 GNU/Linux, other OS or architectures could not work. Besides, neither there are not official precompiled binary nor package, so you will have to compile the project by yourself.
The first method is executing yay -Sy yasos-bin which will install the latest release available in your system.
The second one is executing yay -Sy yasos-git which will clone the repository with the most recent (also unstable), compile the source code and install it in your system
By the moment, there are not an official way to downloas with apt
By now, there are not precompiled packages for GNU/Linux distributions, but you can compile by yourself.
You just need to use the installation script with the --install flag
You can also download the .tar.xz and execute the installer
This may requires root privileges