Knowledge Base
KamlatechToolBlogContact Us
  • Kamlatech Documentation
  • Magento
    • Installation
    • Email Configuration
  • Blogger
    • Adding Code Block
  • Linux
    • Managing Logs
    • Prevent Package Update
  • Node
    • Installation
    • Http-Server
  • Github
    • .gitignore
    • Branch to New Repo
  • HTML
    • Common Header & Footer in HTML
  • Linkedin Infographics
    • Flame Retardant Standards
    • Flame Retardant Terms
  • Music
    • Pandit Niladri Kumar - Sitar
  • Applications
    • Konvect Connect
    • Konvect Fetcher
    • Konvect Fetcher WebApp
  • HTTPS SSL Certificate
    • Lets's Encrypt
  • Oracle Cloud Instance
    • Firewall
    • CPU Stressing
    • CPU Stressing Docker
  • SFTP
    • WinSCP SFTP
  • NextCloud
    • Installation
    • Post Install Tweak
    • PHP Version
  • Wordpress
    • NGINX Configuration
    • Image upload / Crop issue
    • Required PHP Modules
    • PHP Configuration
  • Healthcare Wearables (Cardiac)
    • Wearable ECG
    • Arrhythmia
    • Ambulatory ECG Usecase
    • Understanding EKG Leads
  • Flutter
    • Direct URL Access
    • Change Android PackageName
  • Math
    • Online Equation Writing
  • Backend Web Service
    • Flask App Deployment
  • 3D Modeling
    • DWG in Solid Edge
  • MariaDB
    • MariaDB Commands
  • Excel
    • HTML as String in Excel
  • Tools
    • Online Tools
  • PostgreSQL
    • PostgreSQL Installation
  • MEDUSA
    • Medusa Installation
    • Backend Server/Worker Mode
    • Frontend Deployment
  • Jupyter Lab
    • Jupyter Web App
  • WooCommerce
    • Product Filename Renaming
  • Embedded
    • Flash Xiao Sense Bootloader
Powered by GitBook
On this page
Edit on GitHub
  1. Node

Installation

PreviousPrevent Package UpdateNextHttp-Server

Last updated 1 year ago

Check if you already have node installed or not. If a version is returned, this means node is installed

node -v

Installing node using Node Version Manager NVM. NVM helps manage multiple version of node installation simultaneously

setup and install. In case you want to update the existing NVM install, you need to download the latest version and install.

Once installed you can run this command

nvm ls
nvm list

If node is installed it will return the version installed, if not it will return blank. In both the cases if you want to install or upgrade to latest node version just run

nvm install latest

To install LTS version of node (for logn therm stability)

nvm install lts

To list and install any specific version of node

nvm list available

then

nvm install node-version-number

Once you install a version of Node, the corresponding version of NPM (node package manager) is installed for you. So you don’t need to install NPM separately.

To use a specific version of node

nvm use lts
nvm use latest
nvm use node-version-number

To uninstall a node version that you dont want to use

nvm uninstall node-version-number

To check what node modules or packages are installed, use the command

npm -g list
Download NVM