-
Notifications
You must be signed in to change notification settings - Fork 0
/
dev-setup.sh
37 lines (33 loc) · 933 Bytes
/
dev-setup.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 "-------------------------------------------------"
echo "Starting setup "
echo "-------------------------------------------------"
ISO=$(curl -4 ifconfig.co/country-iso)
echo "-------------------------------------------------"
echo "Setting up the best mirrors for ${ISO} "
echo "-------------------------------------------------"
sudo reflector -a 48 -c ${ISO} -f 5 -l 20 --sort rate --save /etc/pacman.d/mirrorlist
sudo pacman -Syy
echo "-------------------------------------------------"
echo "Installing desktop environment packages "
echo "-------------------------------------------------"
PKGS=(
'dotnet-sdk'
'mono'
'nodejs'
'npm'
'deno'
'go'
'rust'
'perl'
'ruby'
'rider'
'webstorm'
'dotpeek'
'vscodium-bin'
'jdk-openjdk'
)
for PKG in "${PKGS[@]}"; do
echo "Installing: ${PKG}"
paru -S "$PKG" --noconfirm --needed
done