Setting/Terminal (Shell)
[NVim] How to Install Node.js on Linux (Ubuntu)
Braydon
2024. 11. 6. 10:38
반응형
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:
- Update package lists:
sudo apt update
- Install npm (Node Package Manager):
sudo apt install npm
- Install 'n', the Node.js version manager:
sudo npm install -g n
- Install the latest stable version of Node.js:
sudo n lts
- Verify the installation:This command should display the version number of Node.js, confirming the installation.
node -v
References
반응형