install.sh

This commit is contained in:
Your Name
2025-09-29 09:28:19 -04:00
parent 5b618c08ed
commit 3edc477069
2 changed files with 215 additions and 95 deletions

View File

@@ -3,9 +3,19 @@
# Superball Thrower Daemon Installation Script
# This script installs and configures the Superball Thrower daemon
sudo apt install nodejs npm
# Download and install nvm:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash
# in lieu of restarting the shell
\. "$HOME/.nvm/nvm.sh"
# Download and install Node.js:
nvm install 22
# Verify the Node.js version:
node -v # Should print "v22.20.0".
# Verify npm version:
npm -v # Should print "10.9.3".
# Verify installation
node --version
npm --version