Closed danielesk closed 2 months ago
node use --lts
isn't a thing; do you mean nvm use --lts
?
If so, use
is only ever for the life of the shell session. You want nvm alias default lts/*
, for example, if you want the latest LTS version to be the default.
Operating system and version:
nvm debug
output:nvm ls
output:How did you install
nvm
?Git Install
What steps did you perform?
What happened?
When I open a terminal and set it up with the command
node use --lts
and then typenode -v
, I get the output, but when I open a new terminal and executenode -v
it sayszsh: command not found: node
.What did you expect to happen?
I should be able to output the version information when I enter the new terminal, because the node version was set before that
Is there anything in any of your profile files that modifies the
PATH
?Here's some of the information I've configured myself
If you are having installation issues, or getting "N/A", what does
curl -I --compressed -v https://nodejs.org/dist/
print out?