I have also tried to change the order of the flag options, but that doesn't make any difference either.
#Curl command mac terminal download#
Because of its general availability, it is a great choice for when you need to download a file to your local system, especially in a server. It supports many protocols and tends to be installed by default on many Unix-like operating systems. I have also tried to manually type out the command to see if copy/paste is the issue, but same problem. Client URL, or cURL, is a library and command-line utility for transferring data between systems. On macos, I have been able to run shorter curl commands without any issues, but when I paste in a relatively longer curl command, I am presented with more prompts as if zsh doesn't realize the command input is done. It's as if it is waiting for more input or some other run command which I am not aware of. Let’s walk through the flags that are associated with the curl command: The - f or -fail flag tells the Terminal window to give no HTML document output on server errors. One common function used by developers is to make a POST request with curl, which is what we’re going to cover here. The command uses curl to download the Homebrew installation script from Homebrew’s Git repository on GitHub. However, on macos terminal using zsh, the command prompt just shows a reverse prompt after I try to press Enter. Curl is the powerful command line utility that allows you to transfer data to or from a server or URL. On windows, I can simply copy/paste the command to the command prompt or powershell, press Enter, and it runs fine. The curl command is relatively long with multiple "-data-urlencode" flags (5 total) and then the final -v flag. Trying to run a curl command on macos terminal which I was able to run from a windows command prompt.