-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathKotlin_installer
35 lines (32 loc) · 1.12 KB
/
Kotlin_installer
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
#!/usr/bin/env bash
echo "Welcome To installer Kotlin Complier"
echo "System will Start in 2 Seconds" && sleep 2
echo "Here We Gooooo...."
sleep 1
clear
figlet -w 300 Installer Kothlinc
echo -e "\e[32m~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
echo -e " Design and Develop "
echo -e " by "
echo -e " \e[5m \e[91m \e[4m \e[1m Samurai Ghost \e[0m "
echo
echo
echo
echo "To get started Please Press Enter"
read fakeenter
echo "Installing SDKMAN"
sudo curl -s "https://get.sdkman.io" | bash
source "$HOME/.sdkman/bin/sdkman-init.sh"
echo
echo "Updating SDK wait....."
sdk selfupdate force
echo
echo "Current Version is:" && sdk version
echo "Installing Kotlin Compiler:" && sdk install kotlin
echo
echo "Installation Finished...."
echo "Creating Programming Environment at Home Directory"
cd && cd Desktop && mkdir Kotlin && cd Kotlin && mkdir Source && mkdir Output
git clone https://github.com/DrDark1999/Kotlin/blob/main/kotlinc
echo "Enviroment Path is Desktop/Kotlin"
exit