mac setup

作者: HunterDude | 来源:发表于2017-07-25 17:48 被阅读31次

    “小瘦子”传送门。Omyz.


    mac setup

    ohmyzsh

    sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

    brew

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

    pod

    更新gem

    # 切换源
    gem sources -a https://gems.ruby-china.org/
    gem sources -r https://rubygems.org/
    # 更新
    sudo gem update --system
    # 安装pod,注意 -n 参数
    sudo gem install -n /usr/local/bin cocoapods
    

    完善pod

    cd /Users/hunter/.cocoapods/repos
    git clone https://github.com/CocoaPods/Specs.git master
    
    

    then pod install

    终端配置

    vim

    语法加亮:echo "syntax on" >> ~/.vimrc, check /usr/share/vim/vim74/vimrc_example.vim for more

    up

    相关文章

      网友评论

        本文标题:mac setup

        本文链接:https://www.haomeiwen.com/subject/qrhgkxtx.html