Skip to content

Latest commit

 

History

History
140 lines (108 loc) · 3.65 KB

MacOS-Sonoma-14.md

File metadata and controls

140 lines (108 loc) · 3.65 KB

Post-install process for MacOS Ventura

Software

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
  • MongoDB
brew tap mongodb/brew
brew update
brew install [email protected]
  • cmake, 7z, pnpm, fonttools
brew install cmake p7zip, pnpm, fonttools
  • Transmission
brew install --cask transmission
  • kill-port, yarn
pnpm i -g kill-port yarn

Settings

Add Russian text input.

System Settings -> Keyboard -> Text Input -> Edit -> '+' -> 'Russian' -> 'Russian – PC'.

Enable natural trackpad scrolling

System Settings -> Trackpad -> Scroll & Zoom: Natural scrolling (ON).

Add user directory to the Finder

Finder -> Go -> Go to finder -> type / -> find user directory and drag it to the Favorites

Show hidden files always

defaults write http://com.apple.Finder AppleShowAllFiles true

Speed up keyboard

System Settings -> Keyboard -> Key repeat rate (fast), Delay until repeat (fast)

Fonts

Download fonts

Install using Font Book.

Configs

SSH keys

  1. Place keys to User/.ssh directory.

  2. Add keys to authentication agent ssh-add ~/.ssh/{private_key}

  3. Set directory rights chmod 700 ~/.ssh/*

  4. Create ssh config .ssh/config

Host {host1}
    HostName {hostname1}
    User {username1}
    IdentityFile ~/.ssh/{filename1}

Host {host2}
    HostName {hostname2}
    User {username2}
    IdentityFile ~/.ssh/{filename2}

Read more about ssh configuration

Enable commits signing (SSH)

  1. Generate SSH key locally
  2. Add SSH key to GitHub (Settings -> SSH and GPG keys -> New SSH key (Signing))
  3. Update local git settings
git config --global gpg.format ssh
git config --global user.signingkey ~/PATH/TO/.SSH/KEY.PUB
git config --global commit.gpgsign true

Read more about commits signing

Git configs: work/personal

  1. Create a root .gitconfig file: touch ~/.gitconfig
[includeIf "gitdir:~/work/"]
    path = .gitconfig-work
[includeIf "gitdir:~/personal/"]
    path = .gitconfig-personal
  1. Create work and personal files: touch ~/.gitconfig-personal, touch ~/.gitconfig-work
[user]
    email = work/[email protected]
    name = John Doe

Read more about conditional git configs