Node Version Manager install - nvm command not found

后端 未结 26 1872
名媛妹妹
名媛妹妹 2020-11-30 16:18

I am trying to install NVM as per these instructions

I typed in this command in terminal:

$ curl https://raw.github.com/creationix/nvm/master/instal         


        
26条回答
  •  醉话见心
    2020-11-30 16:32

    I had fixed this problem.

    1. touch ~/.bash_profile
    2. open ~/.bash_profile
    3. pasteexport NVM_DIR="$HOME/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion

提交回复
热议问题