This repository was archived by the owner on Dec 13, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathinstallProgram.sh
More file actions
77 lines (66 loc) · 1.27 KB
/
Copy pathinstallProgram.sh
File metadata and controls
77 lines (66 loc) · 1.27 KB
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
#!/bin/bash
echo "Please make sure you're running this with root!"
sudo pacman -Syu --noconfirm
# Installs your Dev Stuff & Utils with pacman
packages=(
vim
neovim
base-devel
obs-studio
flameshot
yay
jre8-openjdk-headless
jre8-openjdk
jdk8-openjdk
openjdk8-doc
openjdk8-src
firefox-developer-edition
go
python-pip
python
)
sudo pacman -S ${packages[@]} --noconfirm
# Install nvm and latest version of Node.js
curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash
nvm install stable
nvm alias default stable
# Clones and makepkg stuff
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -sic
cd ..
sudo rm -rd ./yay
yay_packages=(
discord-canary
mongodb-bin
gitkraken
mongodb-compass
jetbrains-toolbox
visual-studio-code-insiders-bin
)
yay -Syu ${yay_packages[@]}
# Starts & Enables MongoDB
sudo systemctl start mongodb
sudo systemctl enable mongodb
# Install Yarn and Global NPM Packages
npm_packages=(
yarn
typescript
prettier
eslint
)
sudo npm i -g ${npm_packages[@]}
while true; do
read -p "Done, restart computer? (y/n)" yn
case $yn in
[yY]*)
echo "Restarting computer"
shutdown -n now
;;
[nN]*)
echo "Exiting"
exit
;;
*) echo "Please enter 'y' or 'n'!" ;;
esac
done