I am trying to install nvm using curl on ubuntu 20.04. I am getting below error messages when nvm is installed through curl. Is there any other flag that needs to be attached to supress below error?
Machine configuration:
vm: Ubuntu 20.04.5 LTS
curl: curl 7.68.0 (x86_64-pc-linux-gnu)
Commands:
sudo apt updatesudo apt install curl#installing nvmcurl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bashsource ~/.bashrc
Error Message:curl: (92) HTTP/2 stream 0 was closed cleanly, but before getting all response header fields, treated as error