-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmac-setup.sh
54 lines (44 loc) · 983 Bytes
/
mac-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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#!/bin/bash
# Mac setup
# MacOS version: Mojave 10.14.5
#Install Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
# Install Oh-My-Zsh
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
# Apps that aren't in the App Store
apps=(
visual-studio-code
brave-browser
discord
insomnia
deezer
intellij-idea
docker
keka
whatsapp
microsoft-teams
hyper
notion
dbeaver-community
font-fira-code
)
# Install all apps
brew cask install ${apps[@]}
# Install App Store CLI installer
brew install mas
# App Store apps
appStoreApps(
497799835 # XCode
)
# Install App Store apps
mas install ${appStoreApps[@]}
# Setup Git
git config --global user.name "your_username"
git config --global user.email "[email protected]"
git config --global commit.gpgsign true
# Update installed apps and clear caches
brew update
brew upgrade
brew cask upgrade
brew cleanup
rm -rf ~/Library/Caches/Homebrew