我正在尝试使用以下命令在我的Mac上安装NVM:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
但是,我遇到了一个错误,错误信息为:"syntax error near unexpected `("。有关错误日志的更多详细信息请参见下面。我做错了什么?
VFZ:repo2022 john$ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 4934 100 4934 0 0 686 0 0:00:07 0:00:07 --:--:-- 686
bash: line 1: syntax error near unexpected token `('
bash: line 1: `<!-- Copyright (C) 2016 Intel Corporation. All rights reserved. -->'
VFZ:repo2022 john$
系统 - MAC