- Install homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
- Install packages
brew install \
git \
fnm \
dockutil \
gh \
python
- Install casks
brew install --cask \
warp \
notion \
discord \
visual-studio-code \
bitwarden \
spotify \
rectangle \
docker \
pika
- Install
oh-my-zsh
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh ohmyzsh/master/tools/install.sh)"
- Install
zsh-syntax-highlighting
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git
echo "source ${(q-)PWD}/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> ~/.zshrc
- Install
zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-autosuggestions ~/.zsh/zsh-autosuggestions
echo "source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh" >> ~/.zshrc
- Setup
fnm
echo "eval \"$(fnm env --use-on-cd)\"" >> ~/.zshrc
- Add aliases
echo 'zource="source ~/.zshrc"' >> ~/.zshrc
echo 'zshrc="code ~/.zshrc"' >> ~/.zshrc
- Configure git
git config --global user.name ericzakariasson
git config --global user.email <email>
- Install node 16
fnm install 16