-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall.sh
196 lines (165 loc) · 5.8 KB
/
install.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
#!/bin/zsh
echo "Installation complete...\n"
# Install xCode cli tools
echo "Installing commandline tools..."
xcode-select --install
# Homebrew
## Install
echo "Installing Brew..."
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew analytics off
## Tap
echo "Tapping Brew..."
brew tap buo/cask-upgrade
brew tap homebrew/cask-fonts
brew tap koekeishiya/formulae
## Formulae
echo "Installing Brew Formulae..."
brew install bat
brew install btop
brew install eza
brew install fastfetch
brew install ffmpeg
brew install flytcl
brew install fnm
brew install fzf
brew install lazydocker
brew install lazygit
brew install lua
brew install mas
brew install neovim
brew install rustup
brew install startship
brew install tmux
brew install yt-dlp
brew install zoxide
## Cask
echo "Installing Brew Casks..."
### System Extensions
brew install --cask aldente
brew install --cask bartender
brew install --cask command-x
brew install --cask input-source-pro
brew install --cask maccy
brew install --cask mac-mouse-fix
brew install --cask raycast
brew install --cask timemachineeditor
### Utilities
brew install --cask 1password
brew isntall --cask chatgpt
brew install --cask cleanshot
brew install --cask keka
brew install --cask keyclu
brew install --cask ollama
brew install --cask logi-options-plus
brew install --cask pearcleaner
brew install --cask screen-studio
### File & Logging & Information
brew install --cask maestral
brew install --cask netnewswire
brew install --cask notion
brew install --cask obsidian
brew install --cask picgo
brew install --cask planet
brew install --cask zotero
### Internet
brew install --cask arc
brew install --cask clash-verge-rev
### Social
brew install --cask discord
brew install --cask qq
brew install --cask telegram
brew install --cask wechat
### Entertainment
brew install --cask iina
brew install --cask spotify
brew install --cask steam
### Creative
brew install --cask affinity-photo
brew install --cask capcut
brew install --cask figma
### Developer Tools
brew install --cask cursor
brew install --cask alacritty
brew install --cask fork
brew install --cask jetbrains-toolbox
brew install --cask kitty
brew install --cask miniforge
brew install --cask orbstack
brew install --cask rapidapi
brew install --cask tableplus
brew install --cask terminus
brew install --cask visual-studio-code
### Fonts
brew install --cask font-fira-code-nerd-font
brew install --cask font-fira-mono-nerd-font
brew install --cask font-hack-nerd-font
brew install --cask font-jetbrains-mono-nerd-font
brew install --cask font-meslo-lg-nerd-font
brew install --cask font-sf-mono
brew install --cask font-sf-pro
# App Store Apps
echo "Installing App Store Apps..."
mas install 1630034110 # Bob
mas install 640199958 # Developer
mas install 1351639930 # Gifski
mas install 1564031042 # Omnivore
mas install 899247664 # TestFlight
mas install 1659622164 # Vidhub
mas install 497799835 # Xcode
# macOS Settings
echo "Changing macOS defaults..."
defaults write com.apple.NetworkBrowser BrowseAllInterfaces 1
defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool true
defaults write com.apple.spaces spans-displays -bool false
defaults write com.apple.dock "mru-spaces" -bool "false"
defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool false
defaults write com.apple.LaunchServices LSQuarantine -bool false
defaults write NSGlobalDomain com.apple.swipescrolldirection -bool true
defaults write NSGlobalDomain KeyRepeat -int 1
defaults write NSGlobalDomain NSAutomaticSpellingCorrectionEnabled -bool false
defaults write NSGlobalDomain AppleShowAllExtensions -bool true
defaults write com.apple.screencapture location -string "$HOME/Downloads"
defaults write com.apple.screencapture disable-shadow -bool true
defaults write com.apple.screencapture type -string "png"
defaults write com.apple.finder DisableAllAnimations -bool true
defaults write com.apple.finder ShowExternalHardDrivesOnDesktop -bool false
defaults write com.apple.finder ShowHardDrivesOnDesktop -bool false
defaults write com.apple.finder ShowMountedServersOnDesktop -bool false
defaults write com.apple.finder ShowRemovableMediaOnDesktop -bool false
defaults write com.apple.Finder AppleShowAllFiles -bool true
defaults write com.apple.finder FXDefaultSearchScope -string "SCcf"
defaults write com.apple.finder FXEnableExtensionChangeWarning -bool false
defaults write com.apple.finder _FXShowPosixPathInTitle -bool true
defaults write com.apple.finder FXPreferredViewStyle -string "Nlsv"
defaults write com.apple.finder ShowStatusBar -bool true
defaults write com.apple.TimeMachine DoNotOfferNewDisksForBackup -bool YES
defaults write NSGlobalDomain WebKitDeveloperExtras -bool true
defaults write -g NSWindowShouldDragOnGesture YES
defaults write -g NSColorSimulateHardwareAccent -bool YES
defaults write -g NSColorSimulatedHardwareEnclosureNumber -int 7
sudo defaults write com.apple.Safari AutoOpenSafeDownloads -bool false
sudo defaults write com.apple.Safari IncludeDevelopMenu -bool true
sudo defaults write com.apple.Safari WebKitDeveloperExtrasEnabledPreferenceKey -bool true
sudo defaults write com.apple.Safari com.apple.Safari.ContentPageGroupIdentifier.WebKit2DeveloperExtrasEnabled -bool true
sudo defaults write com.apple.mail AddressesIncludeNameOnPasteboard -bool false
## Fix for MX Master 3S
sudo defaults write /Library/Preferences/com.apple.airport.bt.plist bluetoothCoexMgmt Hybrid
source $HOME/.zshrc
# Development Manager
echo "Installing Development Manager..."
## Install SDKMAN
curl -s "https://get.sdkman.io" | bash
### Java
sdk install java 8.0.422-zulu
sdk install java 8.0.422.fx-zulu
sdk install java 11.0.24-zulu
sdk install java 17.0.12-zulu
sdk install java 21.0.4-zulu
### Maven
sdk install maven
## Install Node.js
fnm install & fnm use
## Init rustup
rustup-init
echo "Installation complete...\n"