-
-
Save jamiew/8411924061148c7ddc835e1058d7080c to your computer and use it in GitHub Desktop.
Mac installation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# set firmware password | |
# sudo firmwarepasswd -setpasswd -setmode command | |
# Disable the Character Accent Menu and Enable Key Repeat | |
defaults write -g ApplePressAndHoldEnabled -bool false | |
# Prevent generate .DS_Store | |
defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool true | |
# Default the screen capture to be a jpg file to reduce the size | |
defaults write com.apple.screencapture type jpg | |
# Show absolute path in finder's title bar | |
defaults write com.apple.finder _FXShowPosixPathInTitle -bool true | |
# show all files in finder | |
defaults write com.apple.finder AppleShowAllFiles -bool true | |
# Install Homebrew | |
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
# Configure Homebrew | |
brew doctor | |
# Setup Homebrew tap` | |
brew tap buo/cask-upgrade # upgrade cask by `brew cu` | |
brew tap cjbassi/gotop | |
brew tap homebrew/cask | |
brew tap homebrew/cask-fonts | |
brew tap neovim/neovim | |
brew tap sachaos/todoist | |
brew tap sashkab/python | |
brew tap wallix/awless | |
########### | |
# install # | |
########### | |
brew install awless | |
brew install awscli | |
brew install autojump | |
brew install asciinema | |
brew install bat | |
brew install brew-cask-completion | |
brew install curl | |
brew install diff-so-fancy | |
brew install dialog | |
brew install direnv | |
brew install dep # golang dependency management tool | |
brew install exa | |
brew install fzf | |
brew install gist | |
brew install git | |
brew install git-standup | |
brew install golang-migrate | |
brew install gotop | |
brew install hh | |
brew install httpie | |
brew install hub | |
brew install hyperfine # command benchmarking tool | |
brew install ispell | |
brew install jid | |
brew install jq | |
brew install knqyf263/pet/pet | |
brew install kubectl | |
brew install lua | |
brew install mackup # backup and restore your settings | |
brew install mas | |
brew install mitmproxy | |
brew install mysql | |
brew install neofetch | |
brew install neovim | |
brew install peco | |
brew install pyenv | |
brew install python | |
brew install python35 | |
brew install redis | |
brew install reinstall-to-user-namespace | |
brew install ripgrep # should be able to replace the_silver_searcher | |
brew install safe-rm | |
brew install Schniz/tap/fnm | |
brew install starship | |
brew install tmux | |
brew install watchman | |
brew install wget | |
brew install wireguard-tools | |
brew install yarn | |
brew install zplug | |
brew install zsh | |
############################## | |
# replace macos with gnu cli # | |
############################## | |
brew install coreutils | |
brew install diffutils | |
brew install findutils | |
brew install gawk | |
brew install gnu-sed | |
brew install gnu-tar | |
brew install gnu-which | |
brew install grep | |
brew install less | |
################ | |
# cask install # | |
################ | |
brew cask install android-file-transfer | |
brew cask install anki | |
brew cask install authy | |
brew cask install bettertouchtool | |
brew cask install calibre | |
brew cask install clipy | |
brew cask install cyberduck | |
brew cask install docker | |
brew cask install dozer | |
brew cask install evernote | |
brew cask install firefox | |
brew cask install gas-mask | |
brew cask install gimp | |
brew cask install google-backup-and-sync | |
brew cask install google-chrome | |
brew cask install graphql-playground | |
brew cask install imageoptim | |
brew cask install iina | |
brew cask install insomnia | |
brew cask install istat-menus | |
brew cask install kitty | |
brew cask install messenger | |
brew cask install ngrok | |
brew cask install nosqlbooster-for-mongodb | |
brew cask install postman | |
brew cask install sketch | |
brew cask install stretchly | |
brew cask install slack | |
brew cask install spectacle | |
brew cask install spotify | |
brew cask install the-unarchiver | |
brew cask install tor-browser | |
brew cask install tunnelblick | |
brew cask install visual-studio-code | |
brew cask install virtualbox | |
brew cask install whatsapp | |
brew cask install workflowy | |
################### | |
# android install # | |
################### | |
brew cask install java | |
# brew install ant | |
# brew install maven | |
# brew install gradle | |
# brew cask install android-ndk | |
# brew cask install android-sdk | |
# brew cask install android-studio | |
################### | |
# fonts install # | |
################### | |
# brew cask install font-source-code-pro | |
brew cask install font-hack | |
# brew cask install font-meslo-for-powerline | |
brew cask install font-meslo-nerd-font | |
brew cask install font-meslo-nerd-font-mono | |
brew cask install font-fira-code | |
################### | |
# Mac Store App # | |
################### | |
mas install 1063631769 # Medis | |
mas install 1055511498 # Day One (2.9.2) | |
mas install 1451685025 # WireGuard (0.0.20190207) | |
mas install 402592703 # Timt out | |
mas install 568494494 # Pocket | |
mas install 668208984 # GIPHY CAPTURE (4.1) | |
mas install 865500966 # feedly | |
################# | |
# After install # | |
################# | |
git config --global core.pager "diff-so-fancy | less --tabs=4 -RFX" | |
git config --global alias.co checkout | |
git config --global alias.br branch | |
git config --global alias.cm commit | |
git config --global alias.st status | |
git config --global alias.unstage 'reset HEAD --' | |
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" | |
sh -c "$(curl -fsSL https://raw.githubusercontent.com/psprint/zsh-navigation-tools/master/doc/install.sh)" | |
################# | |
# Tmux | |
################# | |
git clone https://github.com/jimeh/tmux-themepack.git ~/.tmux-themepack | |
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm | |
################# | |
# Rust | |
################# | |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh | |
cargo install fd-find # A simple, fast and user-friendly alternative to 'find' | |
cargo install fre # frerency search | |
cargo install sd # sed alternative | |
################# | |
# Golang | |
################# | |
export GOPATH="${HOME}/go" | |
curl -sSL https://git.io/g-install | bash | |
################# | |
# prepare mackup | |
################# | |
cat >> ~/.mackup.cfg << EOF | |
[storage] | |
engine = google_drive | |
[applications_to_ignore] | |
vscode | |
bettertouchtool | |
EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment