If you have curl or wget installed already on your mac os and want to install nvm using wget or curl try following commands: # Install nvm using curl curl -o- https.
If you try the wget command on your Mac you would get a command not found error, that's because you would need to install the wget package.
If you do not have brew installed: follow this article: How to install brew on Mac (M1)
You can know more about the command by using the help 'wget --help'
If you provide an invalid URL you will get an unable to resolve address error,
If you do not provide a URL you will get an error,