brew 安装
2016-07-22 09:56
204 查看
http://brew.sh/index_zh-cn.html 这个网址是安装地址
1./usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 在终端输入这句话呢就可以安装了
提示 : no developer tools were found at '/Applications/Xcode.app',requesting install. 没有权限,可以执行第二步
2.但是有些电脑不能执行root命令,直接执行 curl -LsSf http://github.com/mxcl/homebrew/tarball/master | sudo tar xvz -C/usr/local --strip 1 这句话就可以了
3.$ which brew 这句话是查看有没有安装好brew ,如果结果是一个路径就表示已经安装好了,
4.安装好了,再利用brew 去安装其他软件,命令 $ brew install wget (wget 这个是软件的名字), 如果这个命令有错误提示,我们更新一下brew 命令 brew update 在执行安装命令
5.这个时候估计就可以运行了。有些软件需要翻墙安装(注意)
1./usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 在终端输入这句话呢就可以安装了
提示 : no developer tools were found at '/Applications/Xcode.app',requesting install. 没有权限,可以执行第二步
2.但是有些电脑不能执行root命令,直接执行 curl -LsSf http://github.com/mxcl/homebrew/tarball/master | sudo tar xvz -C/usr/local --strip 1 这句话就可以了
3.$ which brew 这句话是查看有没有安装好brew ,如果结果是一个路径就表示已经安装好了,
4.安装好了,再利用brew 去安装其他软件,命令 $ brew install wget (wget 这个是软件的名字), 如果这个命令有错误提示,我们更新一下brew 命令 brew update 在执行安装命令
5.这个时候估计就可以运行了。有些软件需要翻墙安装(注意)
相关文章推荐
- java 字符串系列化及反系列化 (未测试)
- Copy List with Random Pointer
- spring工程中得到注入bean的集中方式
- HTML学习笔记1.15—合并单元格
- FileOutputStream,OutputStreamWriter, BufferedWriter为什么连用?
- Topological Sorting
- 搭建spring+mybatis+struts2环境的配置文件
- HTML基础笔记(推荐)
- weex&ReactNative对比
- ios基于UIScrollView实现滑动引导页
- MyBatis 批量插入数据
- Warning: bind(): React component methods may only be bound to the component instance. See ...
- Java实现——Dom4j读写XML文件
- IOS 解决UIButton 点击卡顿/延迟的问题
- Java实现——Dom4j读写XML文件
- 【Promise】Promise实现请求超时处理(加强版)
- ios runtime objc_getAssociatedObject&objc_setAssociatedObject用法
- Android第一个JNI程序
- IOS在子线程中使用定时器,将定时器添加至RunLoop中
- 九宫格解锁