---
# System prepended metadata

title: MacOS Development Environment Setup
tags: [Setup]

---

# MacOS Development Environment Setup

Just a memo for work.

### Package management

1. Download [**brew**](https://brew.sh/index_zh-tw).

### Terminal

1. Download **iTerm2** through website.
2. Download oh-my-zsh through command. 
3. Download [**iTerm2 color scheme**](https://iterm2colorschemes.com/) and apply on iTerm2.
4. Download [**powerlevel10k**](https://github.com/romkatv/powerlevel10k) and its recommendated font.
5. Download plugins.
    * [autojump](https://github.com/wting/autojump)
    * [zsh-autosuggestion](https://github.com/zsh-users/zsh-autosuggestions)
    * zsh-syntax-highlighting
6. Edit .zshrc configuration, here is an example below:
    ```
    ZSH_THEME="powerlevel10k/powerlevel10k"

    plugins=(git autojump brew zsh-autosuggestions zsh-syntax-highlighting)
    ```

### Git

1. Set global user name and email.
    ```bash
    git config --global user.name "USER_NAME"
    git config --global user.email "USER_EMAIL"
    ``` 

### Node

1. Download [**nvm**](https://github.com/nvm-sh/nvm).
2. Download **LTS node** through nvm.
    ```bash
    ```
3. Download **yarn** through npm
    ```bash
    npm install --global yarn
    ```

###### tags: `Setup`

