如何在OS X上安装自制? [英] How to install Homebrew on OS X?

查看:117
本文介绍了如何在OS X上安装自制?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图在OS X上安装自制。

I'm trying to install Homebrew on OS X.

据家酿网站,我应该键入

According to the Homebrew site I should type

brew install wget

和我得到的是

-bash: brew: command not found

所以,我搜索计算器,发现<一个href=\"http://stackoverflow.com/questions/14288682/error-installing-homebrew-brew-command-not-found\">this回答。但问题是我没有看到 BREW 的/ usr / local / bin目录

So I've searched StackOverflow and found this answer. The problem, however, is I don't see brew in /usr/local/bin.

所以,我还添加以下行到我的的.bashrc 文件

So, I also added the following line to my .bashrc file

export PATH=/usr/local/bin:$PATH

但我仍然得到未找到命令错误。

我如何自制软件在OS X上安装?

How do I get Homebrew installed on OS X?

推荐答案

这是在顶部的家酿首页

从终端提示:

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

命令酿造安装的wget 是如何使用自制软件来安装其他应用程序(在这种情况下,的wget )BREW已经安装了。

The command brew install wget is an example of how to use Homebrew to install another application (in this case, wget) after brew is already installed.

这篇关于如何在OS X上安装自制?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆