Thank you for your answer.
The flags bash -s -- -a -d testing
come from YunoHost 4.2 testing - #13 by Aleks
So, from the page you linked to, on a fresh install, I should just use
$ wget https://install.yunohost.org/bullseye -O install_script
$ bash install_script -d testing