MacSetup | Install HomeBrew | Install applications that you want | Iterm2 setup | For M1 users
My preference mac setup for developers
Homebrew installs the stuff you need that Apple (or your Linux system) didn’t.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Paste that in a macOS Terminal or Linux shell prompt.
After that copy the two command lines at Next Steps section to the shell configuration file(~/.zshrc).
In my case
brew install --cask firefox visual-studio-code google-chrome brave-browser spotify slack iterm2
brew install python3 go pipenv nvm gh
After install them follow the next steps(Edit shell configuration file)
See all node versions
nvm ls-remote
Install the version you want
nvm install v17.4.0
login
gh auth login
Iterm2 > Preference > Appearance > General > Theme > Minimal
Iterm2 > Preference > Profiles > Session > Check `status bar enabled` > Configure Status Bar
Battery Level, CPU Utilization, Memory Utilization, Network throughput
Auto-Rainbows: Light Colors
You can select your scheme at Iterm2 > Preference > Profiles > Colors
Delete .txt
extension from itermcolors.txt
file like following image
And import itermcolors file from Iterm by double click .itermcolors.txt
file
Install
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
clone the repository
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
edit ~/.zshrc
ZSH_THEME="powerlevel10k/powerlevel10k"
then restart your terminal
Install of Rosetta
If you want to use M1 Mac without issues related with M1 chip, follow the next command.
/usr/sbin/softwareupdate --install-rosetta --agree-to-license