-
Notifications
You must be signed in to change notification settings - Fork 11
/
setup.sh
38 lines (30 loc) · 1.89 KB
/
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
#!/usr/bin/env sh
echo Installing Rosetta...
sudo softwareupdate --install-rosetta
echo Installing Homebrew...
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
export PATH=/opt/homebrew/bin:$PATH
brew update
echo Installing basic homebrew softwares...
brew install git php ruby node npm protobuf redis mysql rabbitmq mercurial wget zsh htop go mackup
# apps
echo Installing desktop apps...
brew install --cask google-chrome iterm2 discord spotify folx dropbox adobe-acrobat-reader ledger-live textmate skype slack firefox vlc zoom viber microsoft-edge openemu anydesk microsoft-office steam time-out
# utils
echo Installing utilities...
brew install --cask little-snitch istat-menus clipy transmit microsoft-remote-desktop app-tamer grandperspective ipartition rectangle vipriser cd-to blackhole-2ch macfuse handbrake the-unarchiver textbar android-file-transfer balenaetcher sidequest openkey switchresx
# dev tools
echo Installing dev tools...
brew install --cask oracle-jdk docker sequel-ace charles fork visual-studio-code goland phpstorm tunnelblick dosbox-x postman wireshark altserver ifunbox sourcetree android-platform-tools docker
# default-writes
echo Setting default-writes...
sudo /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/ptrinh/macbook-setup/main/default-writes.sh)"
cd Downloads
curl -O https://raw.githubusercontent.com/MartinSeeler/iterm2-material-design/master/material-design-colors.itermcolors
# oh-my-zsh
echo Installing Oh-my-zsh...
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
git clone https://github.com/romkatv/powerlevel10k.git $ZSH_CUSTOM/themes/powerlevel10k
echo "Next step: Sync Dropbox then use 'mackup restore' to restore dot files and other configurations"
# To upgrade all softwares installed by cask later, just run this below command:
# brew upgrade --cask --greedy