LoginSignup
88
74

Brewfileを使った新Mac移行手順

Last updated at Posted at 2017-05-07

https://github.com/darai0512/dotfiles に最新内容を記載。

古いものは以下を除き削除(必要なら履歴から)

(過去ログ)brew-file移行元の操作

これはコミッタ様が直してくれたので残している。
実際の操作は最新docsを確認。
https://homebrew-file.readthedocs.io/en/latest/getting_started.html

以下古い内容

$brew-file init
Do you want to set a repository (y)? ((n) for local Brewfile). [y/n]: y
Set repository, "non" for local Brewfile,<user>/<repo> for github repository,
or full path for the repository: non

initではGithubリポジトリと連携する場合に"non"以外の文字列を入れるが、
一度リポジトリを設定してしまうと、変更は$brew-file set_repoでできるものの、削除はできない様子

自分は間違えてlocal pathを入れてしまい、$brew-file set_repoで"non"と答え直してBrewfileを生成できたが、
再度$brew-file initをしても最初に入力したpathを探されて困った。

=> こちら修正されました(コメント欄参照)

cask系は$brew cask install [app-name]ではなくGUI(dmgファイル)で既に導入済みの場合、Brewfileには含まれないため、必要なら手動で打ち込む。

88
74
2

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
88
74