Migration from Intel Mac to M1 Mac: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
| Line 4: | Line 4: | ||
* {{kbd | key=brew upgrade}} to update Homebrew packages | * {{kbd | key=brew upgrade}} to update Homebrew packages | ||
Upgrade Git command<ref>[https://apple.stackexchange.com/questions/433751/git-not-working-on-m1-chip-after-migration terminal - Git not working on M1 chip after migration - Ask Different]</ref> | Upgrade Git command<ref>[https://git-scm.com/download/mac Git - Downloading Package]</ref><ref>[https://apple.stackexchange.com/questions/433751/git-not-working-on-m1-chip-after-migration terminal - Git not working on M1 chip after migration - Ask Different]</ref> | ||
* {{kbd | key=which git}} to find the location where git was installed | * {{kbd | key=which git}} to find the location where git was installed | ||
* (optional) {{kbd | key=brew uninstall git}} | * (optional) {{kbd | key=brew uninstall git}} | ||
Revision as of 14:15, 3 March 2022
Upgrade macOS Homebrew[1]
- brew update to update Homebrew
- brew upgrade to update Homebrew packages
- 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'
Download & install the Command Line Tools for Xcode 13.2.