22
15

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

homebrewで移行先macへ簡単にアプリを移動させる

Last updated at Posted at 2019-12-26

macをCatalinaにクリーンインストールするときなどに使うと便利です。

// 移行元でBrewfileを作っておく。githubなどにあげておく
brew bundle dump

// 移行先macでの作業。ここから以降は移行先macでの作業
// fileを作って書き込む
touch Brewfile

vim Brewfile

Brewfileにコピペする

Brewfile例
tap "homebrew/bundle"
tap "homebrew/cask"
tap "homebrew/core"
brew "git"
cask "cmd-eikana"
cask "deepl"
cask "docker"
cask "libreoffice"
cask "mapture"
cask "rubymine"
cask "sublime-text"
// homebrew install
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

// インストール
brew bundle

参考サイト
macOS用パッケージマネージャー — Homebrew

GitHub - Homebrew/homebrew-bundle: 📦 Bundler for non-Ruby dependencies from Homebrew, Homebrew Cask and the Mac App Store.

22
15
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
22
15

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?