This document is intended to streamline repetitive tasks when setting up a new Mac or switching to a new device. It is based on Apple Silicon (M1, M2, M3, etc.) rather than Intel Macs.
Feel free to adjust the configuration as needed.
Install Homebrew.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"Install the required packages.
brew install git
brew install wget
brew install curl
brew install tree
brew install htop
brew install --cask iterm2
brew install zsh
brew install fzf
brew install ripgrep
brew install bat
brew install exa
brew install jq
brew install fd
brew install tldr
brew install watch
brew install httpie
brew install telnet
brew install netcat
brew install mtr
brew install nvm
brew install pyenv
brew install rbenv
brew install openjdk
brew install docker
brew install docker-compose
brew install --cask dockerInstall oh-my-zsh. For other shells, install the corresponding framework or plugin manager.
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"Add prompt and plugin settings.
PROMPT='$ '
unset RPROMPT
ZSH="$HOME/.oh-my-zsh"
plugins=(git)
source $ZSH/oh-my-zsh.shApply the updated configuration.
source ~/.zshrcDownload the required tools.
- Adobe
- Discord
- Docker
- draw.io
- HHKB
- IntelliJ
- Karabiner-Elements
- Notion
- Postman
- PyCharm
- Slack
- Sublimetext
- VSCode
- Zoom
Download the required application.
JetBrains IDEs store their settings in version-specific directories. Check which IDE versions are installed with the following command.
ls ~/Library/Application\ Support/JetBrains/For example, if you are using IntelliJ IDEA 2025.1, you can check the keymap, codestyles, templates configuration files as follows.
# keymap
cat ~/Library/Application\ Support/JetBrains/IntelliJIdea2025.1/keymaps/macOS\ copy.xml# codestyles
cat ~/Library/Application\ Support/JetBrains/IntelliJIdea2025.1/codestyles/Default.xml# templates
cat ~/Library/Application\ Support/JetBrains/IntelliJIdea2025.1/templates/Java.xml