Node Setup
Installation of NVM (Node Version Manager)
- Use NVM (Node version Manager ) instead of direct a specific Version of Node.JS
- It will help to easily change node versions for different Projects
- to install NVM run following command
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
- Load NVM in Environment
source ~/.bashrc
Installation of Node JS
-
To check the available Node Versions Remotely run following command
nvm list-remote
-
Select specific version of Node.Js
nvm install v20.18.1
Node VersionFor Whoxa Use v20.18.1
Activate Specific version of Node JS
- To check Locally installed Node.js using NVM run Following command
nvm list
- To activate Specific Node Version form local list run following command
nvm use v20.18.1