From d5b9fbcbe4b83e08a9402c070662b4ba7c86a3c0 Mon Sep 17 00:00:00 2001 From: lenape Date: Fri, 27 Jun 2025 20:31:23 +0000 Subject: [PATCH] automated terminal push --- provision.bash | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/provision.bash b/provision.bash index 7fb33e6..77f53ee 100755 --- a/provision.bash +++ b/provision.bash @@ -3,6 +3,9 @@ # AWS CDK Ubuntu Setup Script # This script installs all required software for AWS CDK development on Ubuntu +reset;clear + + set -e # Exit on any error echo "==========================================" @@ -54,7 +57,7 @@ if command_exists node; then print_warning "Node.js is already installed ($(node --version))" else # 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 print_success "Node.js $(node --version) and npm $(npm --version) installed" fi @@ -110,6 +113,9 @@ rm -f /tmp/awscliv2.zip sudo rm -rf /tmp/aws print_success "Cleanup completed" +reset;clear + + # Verify installations echo "" echo "=========================================="