Reputation: 21
How do I use the curl command with my local Google Cloud SDK? Is it even possible? curl seems to work just fine with Google Shell in my browser, however I'm too new to this to call local files from the shell (I don't know if you even can).
C:\Users\User\AppData\Local\Google\Cloud SDK>curl --help
'curl' is not recognized as an internal or external command, operable program or batch file.
Upvotes: 2
Views: 1966
Reputation: 1
Curl is not enabled by default on the GCP SDK
so you have to edit the php.ini
file.
Have a look at php.ini
at PHP.ini SDK doc for how to enable curl
(or equivalent) on the SDK
Upvotes: -1
Reputation: 76799
you need to install the curl
binaries for Windows; which are available here.
Upvotes: 0
Reputation: 5073
I guess that you have installed Google SDK
on a Windows machine and you want to know why you are not able to run curl
curl
is not installed automatically when you install the Google SDK, it works in the Google Shell because it is already installed, as well you would be able to find it on many Linux machines, but it depends on the particular Operating System and its release/configuration, therefore you should check if it is installed and if not present install it.
You can follow for example this guide to install curl in a Windows machine or run sudo apt-get install curl
to install it on a Ubuntu instance.
Upvotes: 0