You should be able to simply sudo apt install ros-humble-joy-tester! If that doesn’t work, please let me know
sudo apt install ros-humble-joy-tester
(Of course you can also compile it, it’s very simple)