Install Docker and add your user to the docker group, then you avoid to use sudo.
Pull the image:
$ docker pull scrapinghub/splash
Create a virtual environment with Python >= 3.6 .
Install detectem:
$ pip install detectem
Run it against some URL:
$ det http://domain.tld