Search code examples
google-app-engine

gcloud not recognized as an internal or external command on Windows


I am installing Google App Engine under Windows (not using Cygwin). After running the bat script, I closed and reopened the cmd.exe and entered inside the google-cloud-sdk directory. When I ran the command gcloud auth login, I'm getting the error:

'gcloud' is not recognized as an internal or external command,
operable program or batch file.

Solution

  • I just tried it again and I found the issue.

    C:\google-cloud-sdk\bin is not added in the system variable path. I added that it's working fine now.