Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 645 Bytes

File metadata and controls

39 lines (25 loc) · 645 Bytes

Node JS Laboratory

General purpose Node JS language labs

1. Install Node JS

Install Node JS using nvm, following the instructions at: https://github.com/nvm-sh/nvm

Execute:

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

2. Install a version of Node JS

With nvm installed, we can install a new version of Node JS executing:

$ nvm install 12.13.0

3. Get the list of Node JS installed

$ nvm list

4. Use a version of node

$ nvm use 12.13.0

5. Set a version as default in your computer

$ nvm alias default 12.13.0