change node version in existing project
Answered
French Lop posted this in #help-forum
French LopOP
I just used an older node version. Now i changed the default node version to the lts with nvm alias default 18.18.0.
But in my project folder "node -v" displays the older version. So how can i change the node version there?
But in my project folder "node -v" displays the older version. So how can i change the node version there?
8 Replies
There is no such thing as project-specific npm version from what ik
French LopOP
okay weird. Cause i need to change the node version in the project folder every time i start manually
nvm alias default <version_here>
nvm use defaultAnswer
French LopOP
thx i will try it
make sure to restart the terminal after doing this too btw
any instance of already opened terminal would probably not be updated to use the version u want, unless you close and open it
French LopOP
great that worked!
Nice