Skip to content

Instantly share code, notes, and snippets.

@tanpengsccd
Last active September 24, 2019 09:49
Show Gist options
  • Save tanpengsccd/3a45193cd065db002beaf7bcede35f48 to your computer and use it in GitHub Desktop.
Save tanpengsccd/3a45193cd065db002beaf7bcede35f48 to your computer and use it in GitHub Desktop.
Mac 重装系统后 操作

DD重装 https://moeclub.org/2018/04/03/603/

apt-get update apt-get upgrade

  1. 系统设置类 1.1 设置caplock 为 ctl 键 1.1 设置三指脱移 辅助功能-触摸板

  2. 登陆 iCloud

  3. 安装 xcode(脚本依赖)

  4. 安装 homebrew

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

1.1 安装v2vay,并设置好节点

brew cask install v2rayx  
//or 安装最新版(需要安装并打开一次Xcode)
sh -c "$(curl -fsSL https://raw.githubusercontent.com/Cenmrev/V2RayX/master/compilefromsource.sh)"

1.1 再设置git 代理

git config --global http.https://github.com.proxy socks5://127.0.0.1:1081

1.1 curl 临时代理

export http_proxy=http://127.0.0.1:8001   
export https_proxy=$http_proxy
  1. brew 安装的软件
brew install git proxychains-ng caskroom/cask/google-chrome caskroom/cask/iterm2  
caskroom/cask/keka
//  个人需要的 
brew install caskroom/cask/cocoapods-app caskroom/cask/jetbrains-toolbox caskroom/cask/visual-studio-code
// 不太重要的
mounty

proxychains-ng 需要设置 visual-studio-code 可设置 cmd + shit + P 输入code 选择安装code,则可在terminal 中 code 命令打开 文件

  1. 其它 1.1 ohmyzsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment