$ curl https://sdk.cloud.google.com | bash
When the first time you run the above statement, it might be that you'll get the following error if python2 is not installed in your system.
Welcome to the Google Cloud SDK!
Traceback (most recent call last):
File "/home/pratos/google-cloud-sdk/lib/third_party/enum/__init__.py", line 364, in __getattr__