Earlier quoted context omitted.
Agreed. Homebrew has saved countless hours for developers, I can't believe how many hours I used to spend installing/updating different versions for testing. Now we just run (>brew switch package version) done.
Whoaaa didn't know that command. This could replace something like say nvm?
Homebrew 1.1.0
181–190 of 216 posts
Re: Homebrew 1.1.0
#182Re: Homebrew 1.1.0
#183Earlier quoted context omitted.
I haven't done a clean install of OS X in a long time, but I'm pretty sure /usr/local/bin exists. But even if it doesn't I don't find this a compelling argument. Having /usr/local/bin owned by root is a universally accepted standard in the unix world, and with very good reason: having /usr/local/bin owned by a user introduces security risks.
I believe /usr/local/bin is empty on a fresh install.
Re: Homebrew 1.1.0
#184Earlier quoted context omitted.
Basically all of the unixy tools I need host-side (a lot of my work happens in Debian VM's or on remote Debian servers) are available as native Installer Packages (.pkg or .mpkg bundles) This boils down to: Vagrant, Mercurial, Git, GPG Suite, Autotools, tree and wget.
And for updates you manually hunt down the new .pkg installers? Package managers are not only there to install some version of the software, but also to keep it up-to-date.
Re: Homebrew 1.1.0
#185Probably stupid question but: how do you update your version?
$ brew update # get latest version of Homebrew
$ brew cleanup # Homebrew housekeeping
$ brew cask cleanup # Cask housekeeping
$ brew --version
#Expected output: Homebrew 1.1.0Re: Homebrew 1.1.0
#186Earlier quoted context omitted.
Nix package manager on my Mac [1]. Deterministic builds, plays well with POSIX/UNIX, though fewer repo's available than Brew and others. [1]: https://news.ycombinator.com/item?id=11772686
I tried switching to nix, but homebrew's command line argument "design" has spoiled me. With homebrew I'm usually able to guess command arguments, where as with every other package manager I have to google when I want to do something I haven't done before. For example, I want to search for a package name before installing. I'm guessing it's just "brew search pkg"... yup. Now what do I do with nix? Google says it's "n…
Re: Homebrew 1.1.0
#187Re: Homebrew 1.1.0
#188I have very mixed feelings about homebrew. When it works, it is awesome, but when it doesn't it can be a serious nightmare. In particular, homebrew refuses to run under sudo. Instead, to instal in /usr/local it wants me to recursively chown /usr/local to myself, which is a Really Bad Idea (tm). I have mostly stopped using it for this reason. I understand that running a program that runs third-party scripts under sudo…
Re: Homebrew 1.1.0
#189I have very mixed feelings about homebrew. When it works, it is awesome, but when it doesn't it can be a serious nightmare. In particular, homebrew refuses to run under sudo. Instead, to instal in /usr/local it wants me to recursively chown /usr/local to myself, which is a Really Bad Idea (tm). I have mostly stopped using it for this reason. I understand that running a program that runs third-party scripts under sudo…
> recursively chown /usr/local to myself As of 1.0.0: you don't need to do this any more and we don't ask you to.
EDIT: I know how to `chown`, I mean more, what can I give back to root, what needs to remain under homebrew's control? Does the new version ship with a tool/command that does this?