Skip to content

Latest commit

 

History

History
80 lines (64 loc) · 2.73 KB

setup-macos.md

File metadata and controls

80 lines (64 loc) · 2.73 KB

System Preferences

  1. Switch to qwerty
  2. Disable natural scrolling and 24-hour
  3. Update the Mac

Applications

  1. Download Brew
  2. Download Raycast
  3. Download Arc
  4. Download 1Password
    1. The macOS app
    2. The extension
    3. The CLI
  5. Download Ghostty
  6. Download VSCode

CLIs

  1. In the CLI, tap git to install Git (macOS will automatically open a popup to install the developer tools)
  2. Run brew install antidote fzf gh httpie fx pyenv git-delta
  3. Install Volta
    curl https://get.volta.sh | bash
  4. Install Golang
  5. Install cps
    curl https://raw.githubusercontent.com/yongkangchen/cps/main/cps -o cps && chmod +x cps && sudo mv cps /usr/local/bin
  6. Install uv
    curl -LsSf https://astral.sh/uv/install.sh | sh

Others

  1. Download Input Mono font
  2. Download Jetbrains Mono font

Configs

  1. Enable sudo with TouchID
    1. sudo cp /etc/pam.d/sudo_local.template /etc/pam.d/sudo_local
    2. sudo pico /etc/pam.d/sudo_local
    3. Uncomment the line
  2. Download the .config directory and put it at ~/.config
  3. Configure Git to use Delta
    cat <<EOF >> ~/.gitconfig
    [core]
        pager = delta
    
    [interactive]
        diffFilter = delta --color-only
    
    [delta]
        navigate = true  # use n and N to move between diff sections
        dark = true      # or light = true, or omit for auto-detection
    
    [merge]
        conflictstyle = zdiff3
    EOF
  4. If you have servers that you connect to with SSH, go in your /etc/hosts and name them. You will then be able to connect to your server with ssh user@servername.

Shortcuts

Raycast

Search Emoji & Symbols

Shortcut Description How to?
Ctrl+Space Search Emoji & Symbols Open Raycast parameters, go to Extensions and search emoji. Then, set the shortcut to Ctrl+Space. If you can't, you need to disable a specific parameter in System Preferences (check spring-projects/sts4#517 (comment))