Migration from Intel Mac to M1 Mac: Difference between revisions
Jump to navigation
Jump to search
| Line 39: | Line 39: | ||
== Further reading == | == Further reading == | ||
* [https://hackmd.io/@jcyh/mbp-intel-to-m1-guide Apple Macbook Pro intel to M1 轉移心得共筆 - HackMD] | * [https://hackmd.io/@jcyh/mbp-intel-to-m1-guide Apple Macbook Pro intel to M1 轉移心得共筆 - HackMD] | ||
* [https://errerrors.blogspot.com/2022/03/git-is-not-installed-xcrun-after-migrated-to-mac-m1.html 移機到 Mac M1 後 git 出現錯誤] | |||
== References == | == References == | ||
Revision as of 21:46, 4 March 2022
Upgrade the softwares
Upgrade Homebrew
Upgrade macOS Homebrew[1]
- 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
Upgrade Git
- 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.
- Browse More - Downloads - Apple Developer, download and install Xcode 13.2
- Browse More - Downloads - Apple Developer, download and install Command Line Tools for Xcode 13.2
- /usr/bin/git --version --version to verify the path is working
Example output of /usr/bin/git --version
git version 2.32.0 (Apple Git-132)
Reinstall the app which not support intel processor
Reinstall the app which not support intel processor e.g.