赞
踩
安装脚本与 linux 下一样
- % wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
-
- => Downloading nvm from git to '/Users/czy/.nvm'
- => 正克隆到 '/Users/czy/.nvm'...
- remote: Enumerating objects: 355, done.
- remote: Counting objects: 100% (355/355), done.
- remote: Compressing objects: 100% (302/302), done.
- remote: Total 355 (delta 39), reused 173 (delta 28), pack-reused 0
- 接收对象中: 100% (355/355), 221.92 KiB | 420.00 KiB/s, 完成.
- 处理 delta 中: 100% (39/39), 完成.
- * (头指针在 FETCH_HEAD 分离)
- master
- => Compressing and cleaning up git repository
-
- => Profile not found. Tried ~/.bashrc, ~/.bash_profile, ~/.zshrc, and ~/.profile.
- => Create one of them and run this script again
- OR
- => Append the following lines to the correct file yourself:
-
- export NVM_DIR="$HOME/.nvm"
- [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。