Migration from Intel Mac to M1 Mac: Difference between revisions
Jump to navigation
Jump to search
| Line 39: | Line 39: | ||
=== Homebrew === | === Homebrew === | ||
If the [https://brew.sh/index_zh-tw macOS Homebrew] was not installed, input | |||
* {{kbd | key=<nowiki>/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"</nowiki>}} | |||
* {{kbd | key=brew update}} to update Homebrew | * {{kbd | key=brew update}} to update Homebrew | ||
* {{kbd | key=brew upgrade}} to update Homebrew packages | * {{kbd | key=brew upgrade}} to update Homebrew packages | ||
If you copy Homebrew files from Intel Mac | |||
* follow the instruction on <ref>[https://earthly.dev/blog/homebrew-on-m1/ Using Homebrew on M1 Mac - Earthly Blog]</ref> | |||
=== Tensorflow === | === Tensorflow === | ||
Revision as of 00:17, 4 November 2022
Migration from Intel Mac to M1 Mac
List of softwares
Docker Desktop
Reinstall the app which not support intel processor e.g.
- Docker Desktop for Apple silicon
- Choose the container image supports OS/arch: linux/arm64/v8
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)
Homebrew
If the macOS 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
If you copy Homebrew files from Intel Mac
- follow the instruction on [4]
Tensorflow
Further reading
- Apple Macbook Pro intel to M1 轉移心得共筆 - HackMD
- 移機到 Mac M1 後 git 出現錯誤
- More on Is Apple Silicon ready? (能在 Apple 晶片上使用了嗎?)