scotch-io / scotch-box

Scotch Box is a preconfigured Vagrant Box with a full array of LAMP Stack features to get you up and running with Vagrant in no time.
http://box.scotch.io
2.7k stars 547 forks source link

How to update Node? #382

Open angel-luis opened 6 years ago

angel-luis commented 6 years ago

If I try to update with apt-get or npm n always the path points to /home/vagrant/.npm

So I've two npm versions in Scotch Box, but I don't know how to update and path to the updated version.

Delfx commented 5 years ago

@angel-luis try this.

$ nvm i v10 --reinstall-packages-from=default $ nvm alias default v10.

ariefdfaltah commented 5 years ago

Hi @Delfx , I've try your recommendation, but Node version always back to 6.11.4 😅