节点版本管理器安装 - 未找到 nvm 命令 - Node Version Manager install - nvm command not found

问题:

I am trying to install NVM as per these instructions我正在尝试按照这些说明安装 NVM

I typed in this command in terminal:我在终端中输入了这个命令:

$ curl https://raw.github.com/creationix/nvm/master/install.sh | sh

After running the install, I restart the terminal and attempt to install Node.js with this command:运行安装后,我重新启动终端并尝试使用以下命令安装 Node.js:

$ nvm install 0.8

but I get the response:但我得到了回应:

-bash: nvm: command not found

I'm not sure what I am doing wrong here.我不确定我在这里做错了什么。

Additional Info--附加信息 -

I've been looking around for solutions from other posts and forums.我一直在寻找其他帖子和论坛的解决方案。 I found another solution using我找到了另一个解决方案

$ git clone git://github.com/creationix/nvm.git ~/.nvm

but this times out every time I attempt that.但是每次我尝试这样做时都会超时。 Any help would be appreciated.任何帮助,将不胜感激。 Thanks.谢谢。


解决方案:

参考一: https://stackoom.com/question/18vfm
参考二: Node Version Manager install - nvm command not found
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章