What happens If I execute the nvm install script twice in a row?

Viewed 49

I executed the nvm install script twice in a row by accident in the macOS terminal. Does it install the updates only or the total packages again?

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash

Thanks!

1 Answers

The script downloads the total packages again

{ # this ensures the entire script is downloaded #
....
} # this ensures the entire script is downloaded #

(The whole script is based around these brackets, which means that the script downloads it again.)

Related