Back to Setup

Macos Apple Silicon

_partials/macos_apple_silicon.md

latest1.6 KB
Original Source

Apple Silicon Chips

If you bought your computer after late 2020, chances are it has a new Apple silicon chip instead of an Intel processor: let's find out.

Open a new terminal window from Applications > Utilities or search for it with Spotlight:

Copy-paste the following command in the terminal and hit Enter to execute.

bash
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/lewagon/setup/master/utils/macos_list_processor_type.sh)"

☝️ The result of the command should indicate whether your computer uses Apple Silicon.

If your computer uses Apple Silicon, expand the paragraph below and go through it. Otherwise ignore it.

<details> <summary>👉&nbsp;&nbsp;Setup for Apple Silicon 👈</summary>

Uninstall Homebrew

We need to uninstall Homebrew in case a native version was installed.

Execute the following command in the terminal:

bash
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/uninstall.sh)"

If brew was not installed you will get the message brew: command not found!

Configure Terminal for Rosetta

Open the Finder app (or search for it with Spotlight).

Go to Applications > Utilities.

Duplicate the terminal app (select it, then Cmd + C, Cmd + V), and rename a copy as Terminal Rosetta.

Press Cmd + I on the Terminal Rosetta app, then check the box "Open using Rosetta".

⚠️ From now on during the bootcamp, whenever you are asked to open a Terminal, you will use the Terminal Rosetta app.

</details>