我只是擦除并重新格式化我的整个 Macbook Retina 驱动器以从头开始,安装自制软件,安装 xcode 并接受条款和条件,去安装 nvmcurl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash并得到以下错误:
=> nvm is already installed in /Users/dillon/.nvm, trying to update using git
=> => 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" # This loads nvm
=> Close and …Run Code Online (Sandbox Code Playgroud)