This commit is contained in:
Your Name
2024-02-15 23:36:30 -06:00
parent a5adf74b23
commit 8c60f0956b
7 changed files with 117 additions and 8 deletions

View File

@@ -2,7 +2,7 @@
# Check if nodejs is installed
if ! which nodejs > /dev/null; then
#sudo mount -o remount,rw /
# Node.js is not installed, setting up the NodeSource Node.js 21.x repo
echo "Node.js not found. Setting up NodeSource Node.js 21.x repository..."
@@ -10,5 +10,5 @@ if ! which nodejs > /dev/null; then
# Install Node.js from the NodeSource repository
echo "Installing Node.js..."
sudo apt-get install -y nodejs npm
sudo apt-get install -y nodejs
fi