automated terminal push
This commit is contained in:
@@ -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 "=========================================="
|
||||
|
Reference in New Issue
Block a user