sunyuhua@sunyuhua-HKF-WXX:~$ 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
100150371001503700234220 --:--:-- --:--:-- --:--:-- 23458=> Downloading nvm from git to '/home/sunyuhua/.nvm'=> 正克隆到 '/home/sunyuhua/.nvm'...
remote: Enumerating objects: 362, done.
remote: Counting objects: 100% (362/362), done.
remote: Compressing objects: 100% (311/311), done.
remote: Total 362(delta 43), reused 159(delta 25), pack-reused 0
接收对象中: 100% (362/362), 186.76 KiB |394.00 KiB/s, 完成.
处理 delta 中: 100% (43/43), 完成.
* (头指针在 FETCH_HEAD 分离)
master
=> Compressing and cleaning up git repository
=> Appending nvm source string to /home/sunyuhua/.bashrc
=> Appending bash_completion source string to /home/sunyuhua/.bashrc
=> Close and reopen your terminal to start using nvm or run the following to use it now:
exportNVM_DIR="$HOME/.nvm"[-s"$NVM_DIR/nvm.sh"]&&\. "$NVM_DIR/nvm.sh"# This loads nvm[-s"$NVM_DIR/bash_completion"]&&\. "$NVM_DIR/bash_completion"# This loads nvm bash_completion