如果我连续执行两次 nvm install 脚本会发生什么?

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

我在macOS终端不小心连续执行了两次nvm install脚本。 它是只安装更新还是重新安装所有软件包?

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

谢谢!

脚本再次下载全部包

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

(整个脚本都是围绕着这些括号,也就是说脚本要重新下载。)