Skip to content

Instantly share code, notes, and snippets.

@eskayamadeus
Created December 30, 2024 13:32
Show Gist options
  • Save eskayamadeus/436a2e99f4b4e25d375eb0a739cf6287 to your computer and use it in GitHub Desktop.
Save eskayamadeus/436a2e99f4b4e25d375eb0a739cf6287 to your computer and use it in GitHub Desktop.
install latest node and npm on ubuntu
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