在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

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

最新文章

  1. 移动端开发之APP消息推送
  2. iOS 9正式版开始推送 升级机型非常广泛
  3. A quick tour of JSON libraries in Scala
  4. python核心编程学习记录之函数与函数式编程
  5. FullCalendar只可以从外部拖入,内部不能互相拖动
  6. JavaScript学习之对象
  7. 使用sql语句查询日期在一定时间内的数据
  8. getsockname和getpeername
  9. ExtJs中实现tree节点,全部是单击展开和收缩效果,和收藏夹点击功能一样
  10. HDU1548——A strange lift(最短路径:dijkstra算法)
  11. Multiple outputs from T4 made easy – revisited » DamienG
  12. VBS基础篇 - 杂项 - Sendkeys
  13. java 基础知识六 字符串2
  14. 微服务浪潮中,程序猿如何让自己 Be Cloud Native
  15. maya cmds pymel polyEvaluate 获取 bounding box
  16. Linux C++ IDEs
  17. postgre 导出单表和导入
  18. 前后台分离开发--文件上传与下载,cookie,session
  19. gcc的编译属性和选项
  20. 读书笔记(02) - 可维护性 - JavaScript高级程序设计

热门文章

  1. css3 2D变换 transform
  2. springmvc常见注解模式
  3. 解决SQL Server的TEXT、IMAGE类型字段的长度限制
  4. Linux 抓取网站命令
  5. iOS开发之字典数据建立模型步骤
  6. AlertView + Block 的使用
  7. [转]Java中byte与16进制字符串的互相转换
  8. C++ 性能剖析 (四):Inheritance 对性能的影响
  9. 模仿qq音乐播放字母效果
  10. sublime text3 下搭建python IDE环境 --Anaconda插件篇