Installation at first setup
# zsh
sh -c "$(curl -fsSL <https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh>)"
# [optional] set homebrew mirror
export HOMEBREW_BOTTLE_DOMAIN=https://mirrors.sjtug.sjtu.edu.cn/homebrew-bottles
export HOMEBREW_NO_AUTO_UPDATE=1
# install homebrew
/bin/bash -c "$(curl -fsSL <https://raw.githubusercontent.com/Homebrew/install/master/install.sh>)"
cd "$(brew --repo)/Library/Taps/homebrew/homebrew-core"
git remote set-url origin <https://mirrors.sjtug.sjtu.edu.cn/git/homebrew-core.git>
brew cask
cd "$(brew --repo)"/Library/Taps/homebrew/homebrew-cask
git remote set-url origin <https://mirrors.sjtug.sjtu.edu.cn/git/homebrew-cask.git>
brew tap homebrew/cask-versions
brew update
# install software could be installed by homebrew
brew install tmux htop fzf autojump yarn trash-cli
brew cask install google-chrome-canary
brew cask install visual-studio-code
brew cask install item2
brew cask install rectangle
brew cask install background-music
brew cask install wechat
brew cask install qq
brew cask install bitbar
brew cask install nutstore
Utilities
alfred (global search and task switch tool)
- ~~Spectacle (a simple and easy to use windows manager, could change shortcuts)~~
- Opensource alternative: rectangle
- raycast (global search newly alternative)
Spectacle
Charles
kyleneideck/BackgroundMusic
Clean Disk
# remove TabNine model
rm -rf ~/Library/Application\\ Support/Code/User/globalStorage/tabnine.tabnine-vscode
rm -rf ~/Library/Application\\ Support/TabNine
# prune docker image
docker image prune -a
yarn cache clean
trash-empty