Setting Up M1
I have the priledge of getting to purchase an Apple MacBook Air M1. I’m excited to start getting the device setup and seeing how it compares to the macbook pro I’ve been using the last few years. Moreover, 2 years ago I purchased a windows Surfacebook Laptop from CostCo that has done well, but the ergonomics are not quite for me. Therefore, I’ve taken the plundge into the m1 – with my first ever MacBook Air!
I’ll add more as I continue the journey of setting up the M1.
Applications
By default I’ve installed a few applications. Most of which are geared towards software development.
- Spotify - I need my tunes
- VSCode - How else would I write code
- ITerm - I like what ITerm does visually without effort
Programming Applications
This section is more around the specific programs I’ve installed or changed up to make developing software easier – or what is required. For example, not everything compiles to the M1 ARM architecture out of the box. For that I’ve followed some steps to suppor the x86 architecture.
brew
- this is the hombrew install at/opt/homebrew
(default on M1 now)volta
- Followed install docs on the volta siteibrew
- to suppport x86 only brew installs thanks diewlandpython3
(Pyton 3.8) - used normalbrew install python
python3
(Python 3.7) - needed to support x86ibrew install python@3.7
hugo
- this was straight forwardbrew install hugo
git
- installed by doingbrew install git
zshell
- install with the random script from the internetdocker
- download the latest previewjupyter notebook
- need to do this file modification while also using Docker: https://towardsdatascience.com/how-to-run-jupyter-notebooks-on-an-apple-m1-mac-ac3a8bf39c6c
General Notes
I started using the .zprofile
. Previously I’ve used the .zshrc
. So far so good with the .zprofile
:
eval "$(/opt/homebrew/bin/brew shellenv)"
export VOLTA_HOME=$HOME/.volta
export PATH="$VOLTA_HOME/bin:$PATH"
alias ibrew="arch -x86_64 /usr/local/bin/brew"