我可以从终端安装figlet吗?


9

我真的很喜欢FIGlet,并且经常在我的代码和电子邮件中使用它。通过Linux中的终端进行安装确实很容易,但是我不知道如何在Mac(OS X Yosemite 10.10.3)上进行安装。有谁知道如何直接在Mac上安装FIGlet,以便可以从终端运行它?

Answers:


16

您可以使用homebrew安装它。只需键入以下内容:

brew install figlet

如果您没有安装自制软件,则只需输入以下内容即可:

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.