Migration from Intel Mac to M1 Mac

From LemonWiki共筆
Revision as of 14:01, 4 March 2022 by Unknown user (talk)
Jump to navigation Jump to search


Upgrade macOS Homebrew[1]

  • brew update to update Homebrew
  • brew upgrade to update Homebrew packages

Upgrade Git command[2][3][4]

  • which git to find the location where git was installed
  • (optional) brew uninstall git
  • (optional) brew install git
  • /usr/local/bin/git --version to verify the path is working
  • vi ~/.zshrc and add this line alias git='/usr/local/bin/git'

Example outout of /usr/local/bin/git --version

git version 2.35.1


Download & install the Command Line Tools for Xcode 13.2.

Example outout of /usr/bin/git --version

git version 2.32.0 (Apple Git-132)

Further reading

References