Strongly inspired by https://github.com/broozar/installDesktopFreeBSD
Run the script as the root use as follows you can use:
fetch http://a.freebsddesktop.xyz -o installx.sh
sh installx.sh
or
fetch https://raw.githubusercontent.com/nicholasbernstein/install-fbsd-desktop/main/installx.sh -o - | sh
...or not. You're a grownup. Make your own decisions about how you want to do things.
Youtube video demo: