I checked the curl documentation and it says -o option is for saving the downloaded data to a file. But i'm using the below command to install nvm and it has a minus sign after the o. What is it used for?
curl -o-https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash
If we are going to pipe the install.sh to bash, what's the use of saving it first?