-
Notifications
You must be signed in to change notification settings - Fork 0
/
Getting-Started-With-Luke.sh
37 lines (28 loc) · 1 KB
/
Getting-Started-With-Luke.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#!/bin/bash
echo "Hello, My Name Is Luke, Thank you For Using My Script. This Script will install packages like Curl,Nodejs v16.15.1, Yarn and update+Upgrade your Ubuntu Packages"
sleep 2
while true; do
read -p "do you want to continue? (y/n) " yn
case $yn in
[yY] ) echo ok, we will proceed;
break;;
[nN] ) echo exiting...;
exit;;
* ) echo invalid response;;
esac
done
sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get install -y curl
echo "Installing NodeJS V= 16.15.1"
sleep 3
echo "Installing Yarn"
sleep 3
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt update && sudo apt install -y yarn=1.19.1-1
sleep 2
wget https://www.dropbox.com/s/b92t6ywfa4bn884/LM21CLI.sh
sudo chmod +x LM21CLI.sh
sudo ./LM21CLI.sh
echo "Thank You for using my script we are done installing now. Have a Great Rest Of Your Day"
echo "Good Bye ----Luke Angel"
sleep 5