The curl: (3) <url> malformed message happens because you are using the option -O incorrectly, it doesn't take any value:
-O, --remote-name
Write output to a local file named like the remote file we get. (Only the file part of the remote file is
used, the path is cut off.)
The file will be saved in the current working directory. If you want the file saved in a different directory,
make sure you change the current working directory before invoking curl with this option.
I guess curl is interpreting the Miniconda3-latest-MacOSX-x86_64.sh after -O as another url. Even with the message, it saves the file correctly (at least, it did un my linux laptop). The correct command is:
curl https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O
What happens if you try:
why are you using
curlinstead of thewgetcommand you posted?thanks every body. I just download the file Miniconda3-latest-MacOSX-x86_64.sh or miniconda.sh but when I script in my terminal Miniconda3-latest-MacOSX-x86_64.sh. it doesn't work. Miniconda3-latest-MacOSX-x86_64.sh -bash: Miniconda3-latest-MacOSX-x86_64.sh: command not found
the file is in the file enriquesevillaromero. some help
Try
bash ./Miniconda3-latest-MacOSX-x86_64.shin the directory where you downloaded the script.Please use
ADD COMMENT/ADD REPLYwhen responding to comments to keep threads logically organized.