Curl -sSf https://get.dgraph.io | bash doesn't work on Debian Linux

I am running the following command:

curl -sSf https://get.dgraph.io | bash

on Debian linux:

PRETTY_NAME="Debian GNU/Linux 9 (stretch)"
NAME="Debian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
VERSION_CODENAME=stretch
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

Why do I get this error?
main: line 210: command: -,: invalid option
command: usage: command [-pVv] command [arg …]

Help

can you check if command -v, dgraph works in your distro?

It doesn’t.

~$ command -v, dgraph
-bash: command: -,: invalid option
command: usage: command [-pVv] command [arg ...]

If you need to reproduce it, I am using the default Debian 9 image on GKE VMs