Sunday, February 16, 2020

Version Manager For Nodejs

In nowadays the frameworks evolve to fast so we developers need tools that help us with the problem of manage several versions of the same frameworks for our projects. One of these tools is the Node Version Manager (nvm) it will help us to keep up with the evolving of Angular for example.

Installation:

1) execute: 

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.2/install.sh | bash


2) close the console and open a new one, execute:

command -v nvm

The result should be: nvm

Use:

1) To list every version of nodejs execute:

nvm ls 

2) To install a new version of nodejs, for example version v12.0.0, execute:

nvm install 12.0

3) To use an installed version:

nvm use 12.0.0

No comments:

Post a Comment

Taller de ingeniería de Big Data

Los siguientes procedimientos corresponden al material complementarío del taller de ingeniería de Big Data que será dado de forma presencial...