{"id":335,"hash":"6b266a918050bd56e2e2debe966e10e705559329749f08455394d99fe75fefc0","pattern":"Node Version Manager install - nvm command not found","full_message":"I am trying to install NVM as per these instructions\n\nI typed in this command in terminal:\n\n$ curl https://raw.github.com/creationix/nvm/master/install.sh | sh\n\nAfter running the install, I restart the terminal and attempt to install Node.js with this command:\n\n$ nvm install 0.8\n\nbut I get the response:\n\n-bash: nvm: command not found\n\nI'm not sure what I am doing wrong here.\n\nAdditional Info:\n\nI've been looking around for solutions from other posts and forums. I found another solution using\n\n$ git clone git://github.com/creationix/nvm.git ~/.nvm\n\nbut this times out every time I attempt that.","ecosystem":"npm","package_name":"node.js","package_version":null,"solution":"Check your .bash_profile,  .zshrc, or .profile file. You most likely had a problem during the installation. \n\nYou should have the following at the end of one of those files.\n\n[[ -s $HOME/.nvm/nvm.sh ]] && . $HOME/.nvm/nvm.sh  # This loads NVM\n\nThe . $HOME/.nvm/nvm.sh is the same as source $HOME/.nvm/nvm.sh\n\nSee: Sourcing a File\n\nYou can also check to see if you have a .nvm folder.\n\nls -a | grep .nvm\n\nIf you're missing that folder then the installation failed to run the git command. This could be due to being behind a proxy. Try running the following instead.\n\ngit clone http://github.com/creationix/nvm.git .nvm","confidence":0.95,"source":"stackoverflow","source_url":"https://stackoverflow.com/questions/16904658/node-version-manager-install-nvm-command-not-found","votes":830,"created_at":"2026-04-19T04:51:00.539492+00:00","updated_at":"2026-04-19T04:51:00.539492+00:00"}