跳到正文
伩仁的博客
返回

黑苹果MAC os 10.11新安装后的设置和软件安装

新安装好的系统,需要安装软件和配置,将这些步骤记录下来,以后需要的适合查询.

softwareupdate --ignore ThunderboltFirmwareUpdate1.2
xcode-select --install
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

然后配置iterm2, 去掉General的两个Confirm的勾选, 以防iterm2阻止MAC的关机. Profiles-Text两个字号选择18, 字体选择Hack

修改主题和提示符: subl ~/.zshrc, 第10行的主题改成half-life, 然后提示符修改代码加入最后,

PROMPT=$'%{$purple%}%n%{$reset_color%} in %{$limegreen%}%~%{$reset_color%}$(ruby_prompt_info " with%{$fg[red]%} " v g "%{$reset_color%}")$vcs_info_msg_0_%{$orange%}%{$reset_color%} at %{$hotpink%}%* %{$orange%}
λ%{$reset_color%} '
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install tree
brew install git
brew install openssl
brew python3
brew mysql
sudo easy_install pip

在墙内为了更快的安装各种库, 需要更换pip的安装源,自己建立 “~/.pip/pip.conf”文件

mkdir ~/.pip/
cd ~/.pip/
subl pip.conf

将

[global]
trusted-host = pypi.douban.com
index-url = http://pypi.douban.com/simple/

拷贝进去



上一篇
hexo最新版本的安装和数据恢复
下一篇
vscode配置