MacOS Setup Cheatsheet

# views2 min read

How I install my system

iMac Pro

Install *.dmg apps

Install Homebrew

/usr/bin/ruby -e "$(curl -fsSL [https://raw.githubusercontent.com/Homebrew/install/master/install](https://raw.githubusercontent.com/Homebrew/install/master/install))"

Install exa

brew install exa

Install ITerm2

ITerm2

Set color scheme

iTerm2-Color-Schemes - HYBRID

Preferences > Profiles > Default > Colors > Color Presets... > Import

Install ZSH

# Install szh
brew install zsh

### Configure Oh My Zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

iTerm > Profiles > Default > Command: /bin/zsh

Install plugins


# powerlevel10k
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git $ZSH_CUSTOM/themes/powerlevel10k

# autosuggestions && syntax-highlighting
git clone https://github.com/zsh-users/zsh-autosuggestions ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting

open ~/.zshrc

# configure p10k
p10k configure

.zshrc

export PATH=$HOME/bin:/usr/local/bin:$PATH

export ZSH="/Users/dsmurygin/.oh-my-zsh"

ZSH_THEME="powerlevel10k/powerlevel10k"

ENABLE_CORRECTION="true"

HIST_STAMPS="dd.mm.yyyy"

plugins=(git docker docker-compose osx zsh-syntax-highlighting zsh-autosuggestions)

DEFAULT_USER="dsmurygin"

alias g='git'
alias ..='cd ..'
alias l='exa --all'
alias ll='exa --long --all --git'

source $ZSH/oh-my-zsh.sh
source /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh


Node

# Install n and node without sudo

curl -L [https://git.io/n-install](https://git.io/n-install) | bash

SSH

# generate ed25519 ssh key
ssh-keygen -o -a 100 -t ed25519 -f ~/.ssh/id_ed25519 -C "john@example.com"
#macos#setup#cheatsheet

Пока никто не ответил 🥺. Если у тебя есть ответ — пришли мне вебменшен!