Git Product home page Git Product logo

homebrew-caveats's Introduction

Formulae Caveats Shortcut for Homebrew Package Manager

What is it?

It's an external command for Homebrew. It provides installation caveat descriptions for Homebrew packages and casks.

Usage

Although the script's names is brew-caveats.rb, Homebrew external commands work in such a way that you invoke them as brew caveats. (It functions exactly like a sub-command built into Homebrew.)

If you already know the name of a package, and you want to see a bit about it, that's easy:

$ brew caveats zsh redis mysql
==> zsh: Caveats
Add the following to your zshrc to access the online help:
    unalias run-help
    autoload run-help
    HELPDIR=/usr/local/share/zsh/helpfiles

==> redis: Caveats
To have launchd start redis now and restart at login:
    brew services start redis
Or, if you don't want/need a background service you can just run:
    redis-server /usr/local/etc/redis.conf

==> mysql: Caveats
We've installed your MySQL database without a root password. To secure it run:
    mysql_secure_installation
To connect run:
    mysql -uroot
To have launchd start mysql now and restart at login:
    brew services start mysql
Or, if you don't want/need a background service you can just run:
    mysql.server start

This is also valid for casks:

$ brew caveats osxfuse anaconda
==> osxfuse: Caveats
To install and/or use osxfuse you may need to enable their kernel extension in
    System Preferences → Security & Privacy → General
For more information refer to vendor documentation or the Apple Technical Note:
    https://developer.apple.com/library/content/technotes/tn2459/_index.html
You must reboot for the installation of osxfuse to take effect.

==> anaconda: Caveats
To use anaconda, you may need to add the /usr/local/anaconda3/bin directory to your PATH environment variable, eg (for bash shell):
    export PATH=/usr/local/anaconda3/bin:"$PATH"
Cask anaconda installs files under /usr/local. The presence of such files can cause warnings when running "brew doctor", which is considered to be a bug in Homebrew Cask.

Installation

You can install brew caveats in two ways.

  1. Tap this repository and install via brew itself.
  2. Install manually.

For the first method, do the following:

brew tap rafaelgarrido/homebrew-caveats && brew install brew-caveats

For the second method clone or download this repository. Then simply put the file cmd/brew-caveats.rb anywhere in your $PATH. For example:

mv cmd/*-caveats.rb ~/bin

Leave the name as is if you follow this method. Homebrew knows how to find it.

Once you've installed via either method, you can use the commands as described above.

homebrew-caveats's People

Contributors

doomhammer avatar rafaelgarrido avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.