-
Notifications
You must be signed in to change notification settings - Fork 1
/
install.sh
43 lines (32 loc) · 1021 Bytes
/
install.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
38
39
40
41
42
43
#!/usr/bin/bash
blue='\033[34;1m'
green='\033[32;1m'
purple='\033[35;1m'
cyan='\033[36;1m'
red='\033[31;1m'
white='\033[37;1m'
yellow='\033[33;1m'
echo -e $green "[-----------------]"
echo -e $blue "KnowYourSelf By FajarTheGGman"
echo -e $green "[-----------------]\n"
echo -e $green "[/] Installing Package"
apt-get install nodejs wget unzip tar php -y
echo -e $blue "Done !"
echo -e $yellow "[!] Downloading Ngrok"
x=$(dpkg --print-architecture)
if [[ $x == "amd64" ]]; then
wget https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip
unzip ngrok-stable-linux-amd64.zip
fi
if [[ $x == "arm" ]]; then
wget https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-arm.zip
unzip ngrok-stable-linux-arm.zip
fi
if [[ $x == "aarch64" ]]; then
wget https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-arm.zip
unzip ngrok-stable-linux-arm.zip
fi
echo -e $green "Done !"
echo "[!] Installing Nodejs Package"
npm install chalk cowsay fs inquirer jsome ora readline begoo request shelljs colors
npm start