• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

rafaelgarrido/homebrew-caveats: Formulae Caveats Shortcut for Homebrew Package M ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

rafaelgarrido/homebrew-caveats

开源软件地址:

https://github.com/rafaelgarrido/homebrew-caveats

开源编程语言:

Ruby 100.0%

开源软件介绍:

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.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
stfnhmplr/homebridge-homee: use your homee with homebridge发布时间:2022-06-14
下一篇:
SimonRice/homebridge-dyson-nu发布时间:2022-06-14
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap