節點版本管理器安裝 - 未找到 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
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章