NVM Command Not Found Issue [duplicate]

Solution 1:

The problem seems to be that gnome terminal does not load ~/.profile on startup, and there is where NVM is added to the path. You have two choices:

  • Go to "Edit" -> "Profile Preferences" in terminal and activate "Run command as a login shell". Then close and open again the terminal.

enter image description here

  • Add this at the end of ~/.bashrc:

    [[ -s /home/$USER/.nvm/nvm.sh ]] && . /home/$USER/.nvm/nvm.sh
    

Solution 2:

i think you have miss this step

source ~/.nvm/nvm.sh

You can run this command on the bash OR you can but under the file /.bashrc or ~/.profile to automatically load

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