brew install済みのformula一覧を元にbrewfile.shを作るワンライナー
brew leaves
という、他のformulaに依存されてないformulaを一覧するコマンドがあります。
これさえ知ってれば「あとは分かるな……」です。
brew leaves | ruby -e 'puts "#!/bin/sh";ARGF.each{|s| puts "brew install #{s}"}' > brewfile.sh
brew cask
で入れてる方は、依存関係とか気にしなくていいはずなんで、brew cask list
でいいんじゃないかと思います。
Author And Source
この問題について(brew install済みのformula一覧を元にbrewfile.shを作るワンライナー), 我々は、より多くの情報をここで見つけました https://qiita.com/macoshita/items/dbc9b46b4ad0c270241a著者帰属:元の著者の情報は、元のURLに含まれています。著作権は原作者に属する。
Content is automatically searched and collected through network algorithms . If there is a violation . Please contact us . We will adjust (correct author information ,or delete content ) as soon as possible .