Skip to content

Instantly share code, notes, and snippets.

@callowaysutton
Created October 10, 2024 17:45
Show Gist options
  • Save callowaysutton/d671e2b05263702155d69af6c27ea26b to your computer and use it in GitHub Desktop.
Save callowaysutton/d671e2b05263702155d69af6c27ea26b to your computer and use it in GitHub Desktop.
#!/bin/bash
# Install Node.js repository
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
# Install Node.js and NPM
sudo apt install -y nodejs
# Verify the installation
node -v
npm -v
echo "Node.js and NPM installation complete!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment