반응형

Updates: November 6, 2024
Contents: Steps to install Node.js on Linux (Ubuntu)

 

Install Node.js

To ensure you have the latest stable version of Node.js, follow these steps:

  1. Update package lists:
    sudo apt update
  2. Install npm (Node Package Manager):
    sudo apt install npm
  3. Install 'n', the Node.js version manager:
    sudo npm install -g n
  4. Install the latest stable version of Node.js:
    sudo n lts
  5. Verify the installation:This command should display the version number of Node.js, confirming the installation.
    node -v

References

반응형

+ Recent posts