Have a look at the official documentation: https://github.com/DNSCrypt/dnscrypt-proxy/wiki/Installation-linux
If you spot anything different. Don’t follow the commands blindly, try to understand the “what’s & why’s”.
Not sure if I remember the ss parameters correctly.