Oops, sorry, I’m on Fedora momentarily. Maybe I was mistaken… But there’s a whole thread on this forum, dedicated to it.
Plus, the Arch-Wiki, maybe not so quick after all…
A one-liner would be:
yay -S sway
…and require potential digging into aforementioned links for it to work ‘flawlessly’.