comp426-2022-fall / a00

Install required software for COMP 426 and read an intro guide to Git and GitHub
0 stars 6 forks source link

Issues installing nvm #7

Closed jdmar3 closed 2 years ago

jdmar3 commented 2 years ago

Discussed in https://github.com/orgs/comp426-2022-fall/discussions/8

Originally posted by **irachandra** August 18, 2022 So nvm installs correctly but after that it isn't able to locate it, I already tried restarting my terminal. here's a screenshot of my terminal... any suggestions as to where I am going wrong? Screen Shot 2022-08-18 at 4 44 07 PM
jdmar3 commented 2 years ago

@irachandra, What happens when you look into the ~/.nvm directory?

Can you do ls -lah ~/.nvm and post the output?

raghuvarapadma commented 2 years ago

I am having the same issue and I ran that command, here is my output:

image

raghuvarapadma commented 2 years ago

Nevermind, turns out if you run . ~/.nvm/nvm.sh and then run nvm install --lts, you should be good! If that does not work, check out this section and try running through these tips: https://github.com/nvm-sh/nvm#troubleshooting-on-linux.

irachandra commented 2 years ago

Yea mine ended up working thanks!