Homebrew installs nvm but nvm can't be found afterwards?

前端 未结 10 1307
既然无缘
既然无缘 2020-12-22 20:53

I\'m using homebrew and oh-my-zsh on a fresh OSX 10.10.1 install. I got nvm via homebrew and then attempted to run it but

10条回答
  •  既然无缘
    2020-12-22 21:32

    While the accepted answer does technically work, it's worth noting that Homebrew installation is not officially supported by the nvm package. The recommended way to avoid issues like those raised above is to apply either of the below methods of installation.

    curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash
    
    # or wget:
    wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash
    

    source: https://github.com/creationix/nvm

提交回复
热议问题