Depending on the Time and Situation

時と場合によりけり 〜 日々のアップデートとイノベーションに翻弄され彷徨える IT エンジニアの覚書

Mac に Cask をインストール

概要

Homebrew でインストールできないパッケージも多数存在します。そういったパッケージをインストールするときのために、Cask をインストールしておきましょう。

Cask は樽のこと
Cask は樽のこと
### 概要

Homebrew のインストールについては、以下をご参照ください。

stangler.hatenablog.com

この記事の目次

ホスト

Mac

support.apple.com

インストール

ターミナルを開いて、以下のコマンドを実行するだけです。

% brew tap caskroom/cask

確認

次のコマンドを実行し、Cask がインストールされたかどうかを確認してみましょう。

% brew cask

以下のように表示されれば OK です。

Homebrew Cask provides a friendly CLI workflow for the administration
of macOS applications distributed as binaries.

Commands:

    audit      verifies installability of Casks
    cat        dump raw source of the given Cask to the standard output
    create     creates the given Cask and opens it in an editor
    doctor     checks for configuration issues
    edit       edits the given Cask
    fetch      downloads remote application files to local cache
    home       opens the homepage of the given Cask
    info       displays information about the given Cask
    install    installs the given Cask
    list       with no args, lists installed Casks; given installed Casks, lists staged files
    outdated   list the outdated installed Casks
    reinstall  reinstalls the given Cask
    style      checks Cask style using RuboCop
    uninstall  uninstalls the given Cask
    upgrade    upgrades all outdated casks
    zap        zaps all files associated with the given Cask

See also "man brew-cask"

以上です。