Installation problem on ubuntu

when i using this command. i can not install zerotier and receive this error.
curl -s | sudo bash

bash: line 1: syntax error near unexpected token newline' bash: line 1:


What does curl -s output? From your output it looks like it’s outputting HTML, and that shouldn’t be the case.