Homebrew Caskを使うとき、「brew cask search」は効かないので「brew search」を使うようにする

Homebrew Caskでアプリを検索したいとき、古い記事を見ているとbrew cask searchコマンドを使うと書かれてあるのですが、そのコマンドは2018年9月30日に廃止されてしまったようです。
試しにコマンドを実行してみると、下記のような表示が出てしまいます。

Homebrew Cask provides a friendly CLI workflow for the administration
of macOS applications distributed as binaries.
Commands:
--cache display the file used to cache the Cask
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"
Error: help does not take arguments.返ってきた内容を要約すると、「入力されたコマンドが見つからないから、下記一覧内のコマンドを使ってね」という意味になります。
brew searchを使う
解決策はbrew searchコマンドを使うことです(ただし、引数を入力しないと通常のHomebrewの一覧のみが表示されてしまいます)。
今回は試しにbrew search visual-studioと検索してみて、Visual Studio Codeを検索してみます。
コマンドを実行すると、==> CasksのあとにHomebrew Caskでインストールできるアプリ一覧が検索されます。


Default Folder XでPath Finderを「Finderクリック」機能で選択したとき、違うフォルダが選択されてしまう問題
Karabiner-Elementsでcaps lockで修飾キー全押し、caps lock + 修飾キーで押したキー以外の修飾キーを押す方法(reverseキー)
【2026年版】Karabiner-Elementsで実現する右commandキー活用のススメ
Path Finder 9をインストールしたらとりあえず行う初期設定
macOSのシステム環境設定「Siri」の設定見直し
ブラウザを開かなくても高性能な翻訳ができるDeepLのMacアプリ
Google Chromeで「パスワードを保存しますか?」ポップアップを非表示にする方法
Macのクリックやスクロールをキーボードで操作する「Homerow」と「Mouseless」の比較
Alfred Workflowで、AppleScriptを使ってFinderとPath Finderの現在開いているパスを取得する方法
Google Chromeに「タブを検索」機能が追加!開いているタブや最近閉じたタブから検索が可能に!
AirPodsで片耳を外しても再生が止まらないようにする方法
MacのKeynoteにハイライトされた状態でコードを貼り付ける方法
iTerm2でマウスやトラックパッドの操作を設定できる環境設定の「Pointer」タブ
DeepLで「インターネット接続に問題があります」と表示されて翻訳できないときに確認すること
Ulyssesの「第2のエディタ」表示を使って2つのシートを横並びに表示する
Alfredと1Passwordの連携をもっと便利に使いこなすための1Passwordのカテゴリ管理方法
Googleカレンダーに月末の繰り返しイベントを追加する方法
Alfred 4のスニペットで使えるリッチテキスト機能の使い方
Movable TypeでAssetURLやEntryPermalink・ContentPermalinkで出力されるパスを絶対パスから相対パスに変える
Figmaでテキストの一括置換を行うプラグイン「Find and Replace」
三点リーダー(……)とダッシュ記号(——)の正しい使い方
思考したり情報整理したい時はMarkdown記法で文章を書き出そう!!Webデザイナーの情報整理術
Google ChromeでBasic認証のダイアログが一瞬で消えて認証できないときは拡張機能を確認!
Figmaの画像書き出し方法
ATOK Passport / ATOK for Macで日々の文字入力をラクにする