Mac配置

作者: xieyangxuejun | 来源:发表于2018-10-12 05:01 被阅读0次

    安装homebrew

    官网
    介绍-macOS 缺失的软件包的管理器
    命令行安装

    //将以下命令复制到终端
    /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
    

    测试

    brew help
    Example usage:
      brew search [TEXT|/REGEX/]
      brew info [FORMULA...]
      brew install FORMULA...
      brew update
      brew upgrade [FORMULA...]
      brew uninstall FORMULA...
      brew list [FORMULA...]
    
    Troubleshooting:
      brew config
      brew doctor
      brew install --verbose --debug FORMULA
    
    Contributing:
      brew create [URL [--no-fetch]]
      brew edit [FORMULA...]
    
    Further help:
      brew commands
      brew help [COMMAND]
      man brew
      https://docs.brew.sh
    

    安装homebrew cask
    通过 Homebrew Cask 优雅、简单、快速的安装和管理 OS X 图形界面程序,比如 Google Chrome 和 Dropbox。

    $ brew tap caskroom/cask
    $ brew cask install google-chrome // 安装 Google 浏览器
    $ brew update && brew upgrade brew-cask && brew cleanup // 更新
    

    安装fish

    $ brew install fish
    $ fish & fish_config
    //设置welcome
    $ set fish_greeting "我是谢杨学君, talk is cheap. show me the code"
    

    相关文章

      网友评论

          本文标题:Mac配置

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