Migration from Intel Mac to M1 Mac

From LemonWiki共筆
Revision as of 22:55, 3 November 2022 by Unknown user (talk) (→‎Homebrew)
Jump to navigation Jump to search

Migration from Intel Mac to M1 Mac

Owl icon.jpg Choose the app which support the OS architecture: Apple Silicon, linux/arm64/v8

List of softwares

Docker Desktop

Reinstall the app which not support intel processor e.g.


Git

Upgrade Git command[1][2][3]

  • 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 output of /usr/local/bin/git --version

git version 2.35.1


Download & install the Command Line Tools for Xcode 13.2.

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

git version 2.32.0 (Apple Git-132)


Homebrew

Upgrade macOS Homebrew[4][5]

  • If the Homebrew was not installed, input /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
  • brew update to update Homebrew
  • brew upgrade to update Homebrew packages

Tensorflow

Further reading

References