Created
December 30, 2024 13:32
-
-
Save eskayamadeus/436a2e99f4b4e25d375eb0a739cf6287 to your computer and use it in GitHub Desktop.
install latest node and npm on ubuntu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
To install the latest Node.js and npm on Ubuntu, follow these steps: | |
Update your package list: | |
sudo apt update | |
Install Node.js using NodeSource: | |
curl -fsSL https://deb.nodesource.com/setup_current.x | sudo -E bash - | |
sudo apt-get install -y nodejs | |
Verify the installation: | |
node -v | |
npm -v | |
This will install the latest version of Node.js and npm on your Ubuntu system. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment