automated terminal push

This commit is contained in:
lenape
2025-06-27 20:31:23 +00:00
parent 635d7e383b
commit d5b9fbcbe4

View File

@@ -3,6 +3,9 @@
# AWS CDK Ubuntu Setup Script # AWS CDK Ubuntu Setup Script
# This script installs all required software for AWS CDK development on Ubuntu # This script installs all required software for AWS CDK development on Ubuntu
reset;clear
set -e # Exit on any error set -e # Exit on any error
echo "==========================================" echo "=========================================="
@@ -54,7 +57,7 @@ if command_exists node; then
print_warning "Node.js is already installed ($(node --version))" print_warning "Node.js is already installed ($(node --version))"
else else
# Add NodeSource repository # Add NodeSource repository
curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash - curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
sudo apt install -y nodejs sudo apt install -y nodejs
print_success "Node.js $(node --version) and npm $(npm --version) installed" print_success "Node.js $(node --version) and npm $(npm --version) installed"
fi fi
@@ -110,6 +113,9 @@ rm -f /tmp/awscliv2.zip
sudo rm -rf /tmp/aws sudo rm -rf /tmp/aws
print_success "Cleanup completed" print_success "Cleanup completed"
reset;clear
# Verify installations # Verify installations
echo "" echo ""
echo "==========================================" echo "=========================================="