Skip to content

Instantly share code, notes, and snippets.

@yoshimana
Last active December 26, 2020 09:30
Show Gist options
  • Save yoshimana/58bece53fe4b86c08b7266644036ffd3 to your computer and use it in GitHub Desktop.
Save yoshimana/58bece53fe4b86c08b7266644036ffd3 to your computer and use it in GitHub Desktop.
Mac環境設定バックアップと復旧手順

元のMacの設定・実行する

Homebrew・Mackupはインストール済みとして

brew bundle dump --global --force
  • --global オプションで ~/.Brewfile を利用
  • —force で現在のインストールリストで上書き

復旧先で設定・実行する

1.X-Code のインストール

xcode-select --install
sudo xcodebuild -license

2.Homebrew のインストール

Homebrew のインストール

curl -fsSL https://raw.github.com/rcmdnk/homebrew-file/install/install.sh |sh
  • Homebrew-file と同時にインストールされる

参考:Homebrew-file

Homebrew のみインストールしたいなら

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

参考:Homebrew

3.mackup で設定のリストア

brew install mackup
mackup restore

4.brew bundle でアプリケーションのインストール

brew bundle --global

5.Homebrew、AppStoreでインストールできないアプリ

  • ラベル屋さん

  • Editaro

  • Day One Classic

  • Figmac

  • Blocs

    ::Safari Extension (AppStore)

    • Vimari
    • Turn Offthe Lightes
    • 1Blocker
    • Bitwarden
    • PiPifilter
    • LINER
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment