brew-cask介绍

欢迎访问我的个人博客网站:http://www.yanmin99.com/

brew-cask介绍

  • Homebrew安装命令行程序非常便利。
  • Homebrew Cask 优雅、简单、快速的安装和管理OS X图形界面程序,比如 Google Chrome、Dropbox、QQ等
  • Homebrew 已集成 homebrew-cask,不需要额外安装了

brew-cask使用

  • 常用命令
//安装
brew cask install package
//卸载
brew cask uninstall package
//搜索
brew cask search package
//查询软件信息
brew cask info package
  • 实例
//搜索
brew cask search xmind
==> Exact Match
xmind

//安装
brew cask install xmind
  ==> Migrating Caskroom from /opt/homebrew-cask/Caskroom to /usr/local/Caskroom.
==> Creating symlink from /usr/local/Caskroom to /opt/homebrew-cask/Caskroom.
==> Satisfying dependencies
==> Downloading https://www.xmind.net/xmind/downloads/xmind-8-update2-macosx.dmg
######################################################################## 100.0%
==> Verifying checksum for Cask xmind
==> Installing Cask xmind
==> Moving App 'XMind.app' to '/Applications/XMind.app'.
  xmind was successfully installed!

//卸载
brew cask uninstall  xmind
==> Uninstalling Cask xmind
==> Removing App '/Applications/XMind.app'.

//查看信息
brew cask info xmind
xmind: 8-update2
https://www.xmind.net/
Not installed
From: https://github.com/caskroom/homebrew-cask/blob/master/Casks/xmind.rb
==> Name
XMind
==> Artifacts
XMind.app (app)

你可能感兴趣的:(brew-cask介绍)