I think you might be adding in an extra char, and also a newline there. The command is:
curl https://dl.google.com/dl/cloudsdk/release/install_google_cloud_sdk.bash | bash
There is no need for the $
sign, that is just an indicator for the Cygwin bash shell. There should be no newlines at all in that string of commands (no newline after the |
).