Psequel m11/4/2024 ![]() Now install homebrew using Rosetta 2 as well using TerminalRosetta.app:Īrch -x86_64 /bin/bash -c “$(curl -fsSL )".Install Homebrew using following in arm Terminal:.The following command which print `arm64` in arm terminal and `i386` or `x86_64` in the rosetta terminal:Īlways execute this command before each of the following steps to make sure you are in the right execution environment. Please make sure you are in the right terminal before executing commands to avoid messing up your setup. Some commands will need to be run in the arm terminal and some in the rosetta terminal.From now on we will call the Terminal launched from the original Terminal app `the arm terminal` as it will execute arm binaries by default and we will call the Terminal launched from TerminalRosetta.app as `the rosetta terminal` as it will execute binaries in x86_64 mode by default. In the info tab, check `open using Rosetta` checkbox and in the name section rename app to `TerminalRosetta.app`. Right click Terminal app in Finder, select `Duplicate` and then right click the duplicated terminal in Finder and click `Get Info`. There will be Terminal app in the utilities folder. Open Finder, goto Applications folder, then open the Utilities folder in it.usr/sbin/softwareupdate -install-rosetta -agree-to-license Install Rosetta 2 (which is the x86_64 emulation layer for M1s and will allow running legacy intel architecture programs on M1):.Sudo xcode-select -s /Applications/Xcode.app/Contents/Developer Then, set the command-line tools directory to point to Xcode: If you need Xcode, please login to your apple account in AppStore and download/install Xcode.Login to github and open the readme in this repo: to follow the rest of these steps.Generate a new pair by following ( ) and upload to ( ) after logging into github on Safari.Mkdir ~/.ssh cp ~/Downloads/id_rsa* ~/.ssh OR cp ~/Downloads/id_ed25519* ~/.ssh ssh folder in your home directory on your older mac) to your apple silicon mac and put them in ~/.ssh folder If airdrop is working for you and you want to use your existing ssh key, AirDrop your existing SSH keys (either id_rsa and id_rsa.pub OR id_ed25519 and id_ed25519.pub in the.You may need your old mac to get the 2-factor authentication code to log into your new machine Setup your user account and log into your Apple account during initial system setup.Open this repo in a browser on your earlier mac to follow the first few steps from its readme before you can open it on your new apple silicon mac.Please run one step at a time and allow it to succeed before starting next steps.Setting up a new machine requires lots of downloads. Make sure you have a stable and fast internet connection.The second repo ( ) is generic and can be used to setup an intel mac as well. The first repo accompanying this article ( ) also details these steps in its readme. I have split the setup in two repos (available on github). I am detailing the process below for the benefit of other developers. I recently setup my new apple silicon M1 mac for development using trial and error to find the best fit of configuration for my daily tasks. ![]() If you encounter any issues, please let me know in the comments or create a github issue in the relevant repo! Update: copy paste had transformed some of the characters in commands below. This article is not being updated as things change. Update: Please look into my associated repository readme for latest updates. How to setup your new apple silicon M1 mac for development
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |