zoukankan      html  css  js  c++  java
  • 在 mac 上利用 homebrew 安装软件

    在mac经常需要安装一些软件,你可以通过app store下载,或者可以通过浏览袭搜索下载。这里介绍通过homebrew安装一些软件,它会自动为你下载一些软件的相关依赖,免去安装的烦恼。

    首先我们需要安装brew,复制如下内容,在terminal中执行,等待安装完成

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

    安装成功提示,部分截取

    ==> Downloading and installing Homebrew...
    xcode-select: note: no developer tools were found at '/Applications/Xcode.app', requesting install. Choose an option in the dialog to download the command line developer tools.
    ==> Installation successful!
    ==> Next steps
    Run `brew help` to get started
    Further documentation: https://git.io/brew-docs
    ==> Homebrew has enabled anonymous aggregate user behaviour analytics
    Read the analytics documentation (and how to opt-out) here:
      https://git.io/brew-analytics
    xcode-select: note: no developer tools were found at '/Applications/Xcode.app', requesting install. Choose an option in the dialog to download the command line developer tools.

    homebrew链接 http://brew.sh

    之后我们就可以用brew install xx 来安装软件了。 比如:

    brew install git

    brew install wget

    brew install zsh

    方便不方便只有试了才知道

  • 相关阅读:
    05 redis中的Setbit位图法统计活跃用户
    04 redis list结构及命令详解
    03 redis之string类型命令解析
    02 redis通用命令操作
    Mesos提交任务没有被执行
    mesos的zookeeper变更
    VS Code使用git
    vs code 安装Scala
    打印正反读计算方式
    cloudera上面安装Spark2.0
  • 原文地址:https://www.cnblogs.com/blacksonny/p/5706425.html
Copyright © 2011-2022 走看看