Skip to content

M1 MacBook Pro Dev Setup

Jan 8, 2023 (1 year ago)

3 min read

MacBook Desktop

I recently got a M1 MacBook Pro and wanted to share how I set it up for development.

Table of contents


Before setting my machin up and knowing what good apps are out there I checked out these tutorials. Make sure to check them out.


Before starting the actual setup please make sure your machine has the latest version and got all updates.

  • Enable the firewall in the system settings! This is very important
  • Install XCode
xcode-select --install
/bin/bash -c "$(curl -fsSL"
  • Install the essential environments and CLIs you need
brew install git node neovim
  • I really recommend signing your git commits. Read here why and how to do it.
  • Now its time to create a ~/code or ~/dev folder and clone all your project repos locally.

Apps & Programs

Install all apps and programs you need with brew. This is a list of all things I installed:

brew install --cask iterm2 visual-studio-code google-chrome notion spotify rectangle alt-tab devtoys postman stats 1password


This requires the zsh command line which is the default on MacBooks since 2019.

sh -c "$(curl -fsSL"
git clone --depth=1 ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
  • Install and set a nerd font of your choice
  • Restart your terminal and configure Powerlevel10k
p10k configure
  • Update your ~/.zshrc to your liking. I have an example of what you can do in my dotfiles repo.

Useful packages

Install all of these with brew.

  • bat - view file contents in your terminal
  • exa - better ls
  • neovim - terminal code editor. I use the AstroNvim configuration
  • tmux - Terminal multiplexer
  • zoxide - autojumper

The configuration and use of all of these can be seen in my dotfiles repo.

npm packages

  • ESLint
  • npm-check-updates
  • pnpm
  • prettier
  • serve
  • typescript
  • yarn
  • case-police

System configuration

  • Show file name extensions by default
defaults write NSGlobalDomain AppleShowAllExtensions -bool true
  • Show all file extensions
defaults write -g AppleShowAllExtensions -bool true
  • Show path bar and status bar
defaults write ShowPathbar -bool true
defaults write ShowStatusBar -bool true
  • Dont write DS_Store
defaults write DSDontWriteNetworkStores -bool true
defaults write DSDontWriteUSBStores -bool true
  • Show all hidden files
defaults write AppleShowAllFiles true


I hope you liked my setup. Let me know your feedback. ❤️