Brew install nvm. nvm: command not found

There are two steps to installing nvm with brew. First use brew to install the application: brew install nvm Then take a look at the brew info “caveats” section, to see what else you have to do: brew info nvm You might see something like (this can change!): You should create NVM’s working directory if … Read more

Homebrew Symlink Error

I uninstalled what homebrew had so far installed (libevent dependency): brew uninstall libevent Then chow-ned the usr/local directory: sudo chown -R $(whoami) /usr/local Then tried to install memcached again and it worked: brew install memcached

Ignore formula on brew upgrade

I finally found an answer: since commit 85eb73ce there is a pin subcommand available. So ignoring a formula on brew upgrade is as simple as pinning it via brew pin <formula>. To un-pin it, simply invoke brew unpin <formula>. It is worth noting that brew upgrade <formula> will still update the formula regardless of whether … Read more

Brew doctor – “warning: unbrewed header files were found in /usr/local/include”?

It looks like you installed curl and nodejs without using homebrew. You have two options: Do nothing except remember this forever, so that you don’t think they are from homebrew and wonder why homebrew is complaining. Remove them and install nodejs and curl from homebrew. 1 is the easy way, until it isn’t. I recommend … Read more

What does “brew link” do?

Homebrew can allow multiple versions of a formula to be installed. For example, there is formulae called node and node@10 and similar. $ brew info node@10 … ==> Caveats node@10 is keg-only, which means it was not symlinked into /usr/local, because this is an alternate version of another formula. If I have both node and … Read more

Upgrade terraform to specific version

Especially when playing around with Terraform 0.12 betas, I learned to love tfenv. After installation (via brew install tfenv on MacOS), this allows you to easily discover, install and activate any Terraform version: $ tfenv list-remote 0.12.0 0.12.0-rc1 0.12.0-beta2 0.12.0-beta1 0.12.0 0.11.14 … $ tfenv install 0.11.14 [INFO] Installing Terraform v0.11.14 [INFO] Downloading release tarball … Read more

Easy way to have Homebrew list all package dependencies

For all packages: brew deps –tree –installed For one package only (e.g.): brew deps –tree –installed vim Thanks to rob-kovacs for suggesting the –tree addition See this helpful article for details: https://blog.jpalardy.com/posts/untangling-your-homebrew-dependencies/ Especially if you’re interested in creating a graph of the dependency tree.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)